class PostgresPR::ReadyForQuery

Public Instance Methods

dump() click to toggle source
Calls superclass method PostgresPR::Message::dump
# File lib/postgres-pr/message.rb, line 265
def dump
  super(1) do |buffer|
    buffer.write_byte(@backend_transaction_status_indicator)
  end
end
parse(buffer) click to toggle source
Calls superclass method PostgresPR::Message#parse
# File lib/postgres-pr/message.rb, line 271
def parse(buffer)
  super do
    @backend_transaction_status_indicator = buffer.read_byte
  end
end