Class: PostgresPR::ReadyForQuery
- Inherits:
-
Message
- Object
- Utils::ReadBuffer
- Message
- PostgresPR::ReadyForQuery
show all
- Defined in:
- lib/postgres-pr/message.rb
Constant Summary
Constants inherited
from Message
Message::MsgTypeMap
Instance Method Summary
collapse
Methods inherited from Message
#buffer, create, dump, fields, read, register_message_type
Instance Method Details
#dump ⇒ Object
269
270
271
272
273
|
# File 'lib/postgres-pr/message.rb', line 269
def dump
super(1) do |buffer|
buffer.write_byte(@backend_transaction_status_indicator)
end
end
|
#parse(buffer) ⇒ Object
275
276
277
278
279
|
# File 'lib/postgres-pr/message.rb', line 275
def parse(buffer)
super do
@backend_transaction_status_indicator = buffer.read_byte
end
end
|