src/backend/replication/logical/reorderbuffer.c
void
ReorderBufferAddSnapshot(ReorderBuffer *rb, TransactionId xid,
						 XLogRecPtr lsn, Snapshot snap)
{
	ReorderBufferChange *change = ReorderBufferGetChange(rb);

	change->data.snapshot = snap;
	change->action = REORDER_BUFFER_CHANGE_INTERNAL_SNAPSHOT;

	ReorderBufferQueueChange(rb, xid, lsn, change);
}
/*
 * Add a new snapshot to this transaction that may only used after lsn 'lsn'
 * because the previous snapshot doesn't describe the catalog correctly for
 * following rows.
 */
Add a new snapshot to this transaction that may only used after lsn 'lsn'
because the previous snapshot doesn't describe the catalog correctly for
following rows.
Add a new snapshot to this transaction that may only used after lsn ' lsn ' because the previous snapshot doesn ' t describe the catalog correctly for following rows .
void
ReorderBufferAddSnapshot(ReorderBuffer *rb, TransactionId xid,
						 XLogRecPtr lsn, Snapshot snap)
{
	ReorderBufferChange *change = ReorderBufferGetChange(rb);
	change->data.snapshot = snap;
	change->action = REORDER_BUFFER_CHANGE_INTERNAL_SNAPSHOT;
	ReorderBufferQueueChange(rb, xid, lsn, change);
}
void ReorderBufferAddSnapshot ( ReorderBuffer * rb , TransactionId xid , XLogRecPtr lsn , Snapshot snap ) { ReorderBufferChange * change = ReorderBufferGetChange ( rb ) ; change -> data . snapshot = snap ; change -> action = REORDER_BUFFER_CHANGE_INTERNAL_SNAPSHOT ; ReorderBufferQueueChange ( rb , xid , lsn , change ) ; }
Add a new snapshot to this transaction that may only used after lsn 'lsn'
 because the previous snapshot doesn't describe the catalog correctly for
 following rows.
Add a new snapshot to this transaction that may only used after lsn ' lsn ' because the previous snapshot doesn ' t describe the catalog correctly for following rows .