src/backend/replication/logical/reorderbuffer.c
void
ReorderBufferProcessXid(ReorderBuffer *rb, TransactionId xid, XLogRecPtr lsn)
{
	/* many records won't have an xid assigned, centralize check here */
	if (xid != InvalidTransactionId)
		ReorderBufferTXNByXid(rb, xid, true, NULL, lsn, true);
}
/*
 * Tell reorderbuffer about an xid seen in the WAL stream. Has to be called at
 * least once for every xid in XLogRecord->xl_xid (other places in records
 * may, but do not have to be passed through here).
 *
 * Reorderbuffer keeps some datastructures about transactions in LSN order,
 * for efficiency. To do that it has to know about when transactions are seen
 * first in the WAL. As many types of records are not actually interesting for
 * logical decoding, they do not necessarily pass though here.
 */
Tell reorderbuffer about an xid seen in the WAL stream. Has to be called at
least once for every xid in XLogRecord->xl_xid (other places in records
may, but do not have to be passed through here).

Reorderbuffer keeps some datastructures about transactions in LSN order,
for efficiency. To do that it has to know about when transactions are seen
first in the WAL. As many types of records are not actually interesting for
logical decoding, they do not necessarily pass though here.
Tell reorderbuffer about an xid seen in the WAL stream . Has to be called at least once for every xid in XLogRecord - > xl_xid ( other places in records may but do not have to be passed through here ) . Reorderbuffer keeps some datastructures about transactions in LSN order for efficiency . To do that it has to know about when transactions are seen first in the WAL . As many types of records are not actually interesting for logical decoding they do not necessarily pass though here .
void
ReorderBufferProcessXid(ReorderBuffer *rb, TransactionId xid, XLogRecPtr lsn)
{
	if (xid != InvalidTransactionId)
		ReorderBufferTXNByXid(rb, xid, true, NULL, lsn, true);
}
void ReorderBufferProcessXid ( ReorderBuffer * rb , TransactionId xid , XLogRecPtr lsn ) { if ( xid != InvalidTransactionId ) ReorderBufferTXNByXid ( rb , xid , true , NULL , lsn , true ) ; }
Tell reorderbuffer about an xid seen in the WAL stream.
Tell reorderbuffer about an xid seen in the WAL stream .
/* many records won't have an xid assigned, centralize check here */