internal NpgsqlNotificationEventArgs(NpgsqlReadBuffer buf) { PID = buf.ReadInt32(); Channel = buf.ReadNullTerminatedString(); Payload = buf.ReadNullTerminatedString(); }
internal static PostgresException Load(NpgsqlReadBuffer buf, bool includeDetail) => new(ErrorOrNoticeMessage.Load(buf, includeDetail));
internal ColumnStream(NpgsqlConnector connector, bool startCancellableOperations = true) { _connector = connector; _buf = connector.ReadBuffer; _startCancellableOperations = startCancellableOperations; }
internal static PostgresException Load(NpgsqlReadBuffer buf, bool suppressDetailInPostgressError) => new PostgresException(ErrorOrNoticeMessage.Load(buf, suppressDetailInPostgressError));
internal static PostgresException Load(NpgsqlReadBuffer buf) => new PostgresException(ErrorOrNoticeMessage.Load(buf));
internal NpgsqlNotificationEventArgs(NpgsqlReadBuffer buf) { PID = buf.ReadInt32(); Condition = buf.ReadNullTerminatedString(); AdditionalInformation = buf.ReadNullTerminatedString(); }