PostgreSQL Source Code
git master
|
#include <reorderbuffer.h>
Definition at line 257 of file reorderbuffer.h.
TimestampTz ReorderBufferTXN::abort_time |
Definition at line 325 of file reorderbuffer.h.
Referenced by pgoutput_stream_abort(), and ReorderBufferAbort().
Snapshot ReorderBufferTXN::base_snapshot |
Definition at line 333 of file reorderbuffer.h.
Referenced by AssertTXNLsnOrder(), ReorderBufferCleanupTXN(), ReorderBufferForget(), ReorderBufferGetOldestXmin(), ReorderBufferInvalidate(), ReorderBufferLargestStreamableTopTXN(), ReorderBufferReplay(), ReorderBufferSetBaseSnapshot(), ReorderBufferStreamTXN(), ReorderBufferTransferSnapToParent(), and ReorderBufferXidHasBaseSnapshot().
XLogRecPtr ReorderBufferTXN::base_snapshot_lsn |
Definition at line 334 of file reorderbuffer.h.
Referenced by AssertTXNLsnOrder(), ReorderBufferSetBaseSnapshot(), and ReorderBufferTransferSnapToParent().
dlist_node ReorderBufferTXN::base_snapshot_node |
Definition at line 335 of file reorderbuffer.h.
Referenced by ReorderBufferCleanupTXN(), ReorderBufferSetBaseSnapshot(), and ReorderBufferTransferSnapToParent().
dlist_node ReorderBufferTXN::catchange_node |
Definition at line 407 of file reorderbuffer.h.
Referenced by ReorderBufferCleanupTXN(), and ReorderBufferXidSetCatalogChanges().
dlist_head ReorderBufferTXN::changes |
Definition at line 361 of file reorderbuffer.h.
Referenced by AssertChangeLsnOrder(), ReorderBufferCleanupTXN(), ReorderBufferGetTXN(), ReorderBufferIterTXNInit(), ReorderBufferIterTXNNext(), ReorderBufferQueueChange(), ReorderBufferRestoreChange(), ReorderBufferRestoreChanges(), ReorderBufferSerializeTXN(), ReorderBufferStreamTXN(), and ReorderBufferTruncateTXN().
CommandId ReorderBufferTXN::command_id |
Definition at line 342 of file reorderbuffer.h.
Referenced by ReorderBufferGetTXN(), ReorderBufferSaveTXNSnapshot(), and ReorderBufferStreamTXN().
TimestampTz ReorderBufferTXN::commit_time |
Definition at line 323 of file reorderbuffer.h.
Referenced by logicalrep_write_begin(), logicalrep_write_commit(), logicalrep_write_commit_prepared(), logicalrep_write_rollback_prepared(), logicalrep_write_stream_commit(), pg_decode_commit_prepared_txn(), pg_decode_commit_txn(), pg_decode_rollback_prepared_txn(), pg_decode_stream_commit(), ReorderBufferFinishPrepared(), and ReorderBufferReplay().
bool ReorderBufferTXN::concurrent_abort |
Definition at line 423 of file reorderbuffer.h.
Referenced by ReorderBufferPrepare(), ReorderBufferProcessTXN(), and ReorderBufferQueueChange().
XLogRecPtr ReorderBufferTXN::end_lsn |
Definition at line 301 of file reorderbuffer.h.
Referenced by AssertChangeLsnOrder(), AssertTXNLsnOrder(), commit_cb_wrapper(), commit_prepared_cb_wrapper(), logicalrep_write_begin_prepare(), logicalrep_write_commit(), logicalrep_write_commit_prepared(), logicalrep_write_prepare_common(), logicalrep_write_rollback_prepared(), logicalrep_write_stream_commit(), prepare_cb_wrapper(), ReorderBufferCommitChild(), ReorderBufferFinishPrepared(), ReorderBufferPrepare(), ReorderBufferRememberPrepareInfo(), ReorderBufferReplay(), rollback_prepared_cb_wrapper(), stream_commit_cb_wrapper(), and stream_prepare_cb_wrapper().
XLogRecPtr ReorderBufferTXN::final_lsn |
Definition at line 296 of file reorderbuffer.h.
Referenced by commit_cb_wrapper(), commit_prepared_cb_wrapper(), logicalrep_write_begin(), logicalrep_write_begin_prepare(), prepare_cb_wrapper(), ReorderBufferAbort(), ReorderBufferCommitChild(), ReorderBufferFinishPrepared(), ReorderBufferForget(), ReorderBufferPrepare(), ReorderBufferRememberPrepareInfo(), ReorderBufferReplay(), ReorderBufferRestoreChanges(), ReorderBufferRestoreCleanup(), ReorderBufferSerializeChange(), ReorderBufferStreamCommit(), rollback_prepared_cb_wrapper(), stream_commit_cb_wrapper(), and stream_prepare_cb_wrapper().
XLogRecPtr ReorderBufferTXN::first_lsn |
Definition at line 279 of file reorderbuffer.h.
Referenced by AssertChangeLsnOrder(), AssertTXNLsnOrder(), begin_cb_wrapper(), begin_prepare_cb_wrapper(), ReorderBufferGetOldestTXN(), ReorderBufferRestoreChanges(), ReorderBufferRestoreCleanup(), and ReorderBufferTXNByXid().
char* ReorderBufferTXN::gid |
Definition at line 272 of file reorderbuffer.h.
Referenced by logicalrep_write_begin_prepare(), logicalrep_write_commit_prepared(), logicalrep_write_prepare_common(), logicalrep_write_rollback_prepared(), pg_decode_commit_prepared_txn(), pg_decode_prepare_txn(), pg_decode_rollback_prepared_txn(), pg_decode_stream_prepare(), ReorderBufferFinishPrepared(), ReorderBufferPrepare(), and ReorderBufferReturnTXN().
SharedInvalidationMessage* ReorderBufferTXN::invalidations |
Definition at line 394 of file reorderbuffer.h.
Referenced by ReorderBufferAbort(), ReorderBufferAddInvalidations(), ReorderBufferFinishPrepared(), ReorderBufferForget(), ReorderBufferInvalidate(), ReorderBufferProcessTXN(), and ReorderBufferReturnTXN().
uint64 ReorderBufferTXN::nentries |
Definition at line 349 of file reorderbuffer.h.
Referenced by ReorderBufferIterTXNInit(), ReorderBufferIterTXNNext(), ReorderBufferQueueChange(), ReorderBufferStreamTXN(), and ReorderBufferTruncateTXN().
uint64 ReorderBufferTXN::nentries_mem |
Definition at line 355 of file reorderbuffer.h.
Referenced by ReorderBufferCheckMemoryLimit(), ReorderBufferIterTXNNext(), ReorderBufferQueueChange(), ReorderBufferRestoreChange(), ReorderBufferRestoreChanges(), ReorderBufferSerializeTXN(), ReorderBufferStreamTXN(), and ReorderBufferTruncateTXN().
uint32 ReorderBufferTXN::ninvalidations |
Definition at line 393 of file reorderbuffer.h.
Referenced by ReorderBufferAbort(), ReorderBufferAddInvalidations(), ReorderBufferFinishPrepared(), ReorderBufferForget(), ReorderBufferInvalidate(), ReorderBufferProcessTXN(), ReorderBufferReplay(), and ReorderBufferStreamTXN().
dlist_node ReorderBufferTXN::node |
Definition at line 402 of file reorderbuffer.h.
Referenced by ReorderBufferAssignChild(), ReorderBufferCleanupTXN(), and ReorderBufferTXNByXid().
uint32 ReorderBufferTXN::nsubtxns |
Definition at line 387 of file reorderbuffer.h.
Referenced by ReorderBufferAssignChild(), ReorderBufferCleanupTXN(), ReorderBufferCopySnap(), and ReorderBufferTruncateTXN().
uint64 ReorderBufferTXN::ntuplecids |
Definition at line 369 of file reorderbuffer.h.
Referenced by ReorderBufferAddNewTupleCids(), and ReorderBufferBuildTupleCidHash().
RepOriginId ReorderBufferTXN::origin_id |
Definition at line 314 of file reorderbuffer.h.
Referenced by pgoutput_begin_prepare_txn(), pgoutput_send_begin(), pgoutput_stream_start(), ReorderBufferFinishPrepared(), ReorderBufferPrepare(), ReorderBufferProcessTXN(), ReorderBufferRememberPrepareInfo(), and ReorderBufferReplay().
XLogRecPtr ReorderBufferTXN::origin_lsn |
Definition at line 315 of file reorderbuffer.h.
Referenced by pgoutput_begin_prepare_txn(), pgoutput_send_begin(), ReorderBufferFinishPrepared(), ReorderBufferPrepare(), ReorderBufferRememberPrepareInfo(), and ReorderBufferReplay().
void* ReorderBufferTXN::output_plugin_private |
Definition at line 428 of file reorderbuffer.h.
Referenced by pg_decode_begin_prepare_txn(), pg_decode_begin_txn(), pg_decode_change(), pg_decode_commit_txn(), pg_decode_message(), pg_decode_prepare_txn(), pg_decode_stream_abort(), pg_decode_stream_change(), pg_decode_stream_commit(), pg_decode_stream_message(), pg_decode_stream_prepare(), pg_decode_stream_start(), pg_decode_stream_stop(), pg_decode_stream_truncate(), pg_decode_truncate(), pgoutput_begin_txn(), pgoutput_change(), pgoutput_commit_txn(), pgoutput_message(), pgoutput_send_begin(), pgoutput_truncate(), and ReorderBufferGetTXN().
TimestampTz ReorderBufferTXN::prepare_time |
Definition at line 324 of file reorderbuffer.h.
Referenced by logicalrep_write_begin_prepare(), logicalrep_write_prepare_common(), pg_decode_prepare_txn(), pg_decode_stream_prepare(), ReorderBufferFinishPrepared(), ReorderBufferPrepare(), and ReorderBufferRememberPrepareInfo().
XLogRecPtr ReorderBufferTXN::restart_decoding_lsn |
Definition at line 311 of file reorderbuffer.h.
Referenced by ReorderBufferTXNByXid(), and SnapBuildProcessRunningXacts().
Size ReorderBufferTXN::size |
Definition at line 417 of file reorderbuffer.h.
Referenced by ReorderBufferChangeMemoryUpdate(), ReorderBufferCheckMemoryLimit(), ReorderBufferIterTXNNext(), ReorderBufferLargestTXN(), ReorderBufferResetTXN(), ReorderBufferReturnTXN(), ReorderBufferSerializeTXN(), and ReorderBufferTXNSizeCompare().
Snapshot ReorderBufferTXN::snapshot_now |
Definition at line 341 of file reorderbuffer.h.
Referenced by ReorderBufferCleanupTXN(), ReorderBufferSaveTXNSnapshot(), and ReorderBufferStreamTXN().
dlist_head ReorderBufferTXN::subtxns |
Definition at line 386 of file reorderbuffer.h.
Referenced by ReorderBufferAssignChild(), ReorderBufferCleanupTXN(), ReorderBufferCopySnap(), ReorderBufferGetTXN(), ReorderBufferIterTXNInit(), ReorderBufferSerializeTXN(), ReorderBufferStreamTXN(), and ReorderBufferTruncateTXN().
HTAB* ReorderBufferTXN::toast_hash |
Definition at line 380 of file reorderbuffer.h.
Referenced by ReorderBufferToastAppendChunk(), ReorderBufferToastInitHash(), ReorderBufferToastReplace(), and ReorderBufferToastReset().
TransactionId ReorderBufferTXN::toplevel_xid |
Definition at line 266 of file reorderbuffer.h.
Referenced by ReorderBufferAssignChild(), ReorderBufferSetBaseSnapshot(), ReorderBufferTransferSnapToParent(), and ReorderBufferXidHasBaseSnapshot().
struct ReorderBufferTXN* ReorderBufferTXN::toptxn |
Definition at line 304 of file reorderbuffer.h.
Referenced by ReorderBufferAssignChild().
Size ReorderBufferTXN::total_size |
Definition at line 420 of file reorderbuffer.h.
Referenced by ReorderBufferChangeMemoryUpdate(), ReorderBufferCheckMemoryLimit(), ReorderBufferLargestStreamableTopTXN(), ReorderBufferProcessTXN(), and ReorderBufferStreamTXN().
HTAB* ReorderBufferTXN::tuplecid_hash |
Definition at line 374 of file reorderbuffer.h.
Referenced by ReorderBufferBuildTupleCidHash(), ReorderBufferProcessTXN(), ReorderBufferReturnTXN(), and ReorderBufferTruncateTXN().
dlist_head ReorderBufferTXN::tuplecids |
Definition at line 368 of file reorderbuffer.h.
Referenced by ReorderBufferAddNewTupleCids(), ReorderBufferBuildTupleCidHash(), ReorderBufferCleanupTXN(), ReorderBufferGetTXN(), and ReorderBufferTruncateTXN().
bits32 ReorderBufferTXN::txn_flags |
Definition at line 260 of file reorderbuffer.h.
Referenced by ReorderBufferAssignChild(), ReorderBufferFinishPrepared(), ReorderBufferPrepare(), ReorderBufferProcessPartialChange(), ReorderBufferQueueChange(), ReorderBufferSerializeTXN(), ReorderBufferSkipPrepare(), ReorderBufferTruncateTXN(), and ReorderBufferXidSetCatalogChanges().
pairingheap_node ReorderBufferTXN::txn_node |
Definition at line 412 of file reorderbuffer.h.
Referenced by ReorderBufferChangeMemoryUpdate().
union { ... } ReorderBufferTXN::xact_time |
Referenced by logicalrep_write_begin(), logicalrep_write_begin_prepare(), logicalrep_write_commit(), logicalrep_write_commit_prepared(), logicalrep_write_prepare_common(), logicalrep_write_rollback_prepared(), logicalrep_write_stream_commit(), pg_decode_commit_prepared_txn(), pg_decode_commit_txn(), pg_decode_prepare_txn(), pg_decode_rollback_prepared_txn(), pg_decode_stream_commit(), pg_decode_stream_prepare(), pgoutput_stream_abort(), ReorderBufferAbort(), ReorderBufferFinishPrepared(), ReorderBufferPrepare(), ReorderBufferRememberPrepareInfo(), and ReorderBufferReplay().
TransactionId ReorderBufferTXN::xid |
Definition at line 263 of file reorderbuffer.h.
Referenced by begin_cb_wrapper(), begin_prepare_cb_wrapper(), change_cb_wrapper(), commit_cb_wrapper(), commit_prepared_cb_wrapper(), logicalrep_write_begin(), logicalrep_write_begin_prepare(), logicalrep_write_commit_prepared(), logicalrep_write_prepare_common(), logicalrep_write_rollback_prepared(), logicalrep_write_stream_commit(), maybe_send_schema(), message_cb_wrapper(), pg_decode_commit_prepared_txn(), pg_decode_commit_txn(), pg_decode_prepare_txn(), pg_decode_rollback_prepared_txn(), pg_decode_stream_abort(), pg_decode_stream_change(), pg_decode_stream_commit(), pg_decode_stream_prepare(), pg_decode_stream_stop(), pg_decode_stream_truncate(), pg_output_begin(), pg_output_stream_start(), pgoutput_change(), pgoutput_commit_txn(), pgoutput_message(), pgoutput_stream_abort(), pgoutput_stream_commit(), pgoutput_stream_start(), pgoutput_truncate(), prepare_cb_wrapper(), ReorderBufferAbortOld(), ReorderBufferCleanupTXN(), ReorderBufferCopySnap(), ReorderBufferGetCatalogChangesXacts(), ReorderBufferProcessTXN(), ReorderBufferRestoreChanges(), ReorderBufferRestoreCleanup(), ReorderBufferReturnTXN(), ReorderBufferSerializeChange(), ReorderBufferSerializeTXN(), ReorderBufferTransferSnapToParent(), ReorderBufferTXNByXid(), rollback_prepared_cb_wrapper(), SnapBuildDistributeNewCatalogSnapshot(), stream_abort_cb_wrapper(), stream_change_cb_wrapper(), stream_commit_cb_wrapper(), stream_message_cb_wrapper(), stream_prepare_cb_wrapper(), stream_start_cb_wrapper(), stream_stop_cb_wrapper(), stream_truncate_cb_wrapper(), truncate_cb_wrapper(), and update_progress_txn_cb_wrapper().