Class: PostgresPR::ReadyForQuery

Inherits:
Message
  • Object
show all
Defined in:
lib/postgres-pr/message.rb

Constant Summary

Constants inherited from Message

Message::MsgTypeMap

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Message

create, #dump, dump, read, register_message_type

Instance Attribute Details

#backend_transaction_status_indicatorObject (readonly)

Returns the value of attribute backend_transaction_status_indicator.



163
164
165
# File 'lib/postgres-pr/message.rb', line 163

def backend_transaction_status_indicator
  @backend_transaction_status_indicator
end

Instance Method Details

#parse(buffer) ⇒ Object



165
166
167
168
169
# File 'lib/postgres-pr/message.rb', line 165

def parse(buffer)
  super do
    @backend_transaction_status_indicator = buffer.read_byte
  end
end