Class: Pcrd::Replication::Pgoutput::Messages::Begin

Inherits:
Data
  • Object
show all
Defined in:
lib/pcrd/replication/pgoutput/messages.rb

Overview

B — transaction begin lsn: String “X/Y” — final LSN of the transaction commit_time: Time (UTC) xid: Integer — transaction ID

Instance Attribute Summary collapse

Instance Attribute Details

#commit_timeObject (readonly)

Returns the value of attribute commit_time

Returns:

  • (Object)

    the current value of commit_time



26
27
28
# File 'lib/pcrd/replication/pgoutput/messages.rb', line 26

def commit_time
  @commit_time
end

#lsnObject (readonly)

Returns the value of attribute lsn

Returns:

  • (Object)

    the current value of lsn



26
27
28
# File 'lib/pcrd/replication/pgoutput/messages.rb', line 26

def lsn
  @lsn
end

#xidObject (readonly)

Returns the value of attribute xid

Returns:

  • (Object)

    the current value of xid



26
27
28
# File 'lib/pcrd/replication/pgoutput/messages.rb', line 26

def xid
  @xid
end