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