src/backend/replication/logical/reorderbuffer.c
bool
ReorderBufferXidHasCatalogChanges(ReorderBuffer *rb, TransactionId xid)
{
	ReorderBufferTXN *txn;

	txn = ReorderBufferTXNByXid(rb, xid, false, NULL, InvalidXLogRecPtr,
								false);
	if (txn == NULL)
		return false;

	return txn->has_catalog_changes;
}
/*
 * Query whether a transaction is already *known* to contain catalog
 * changes. This can be wrong until directly before the commit!
 */
Query whether a transaction is already *known* to contain catalog
changes. This can be wrong until directly before the commit!
Query whether a transaction is already * known * to contain catalog changes . This can be wrong until directly before the commit!
bool
ReorderBufferXidHasCatalogChanges(ReorderBuffer *rb, TransactionId xid)
{
	ReorderBufferTXN *txn;
	txn = ReorderBufferTXNByXid(rb, xid, false, NULL, InvalidXLogRecPtr,
								false);
	if (txn == NULL)
		return false;
	return txn->has_catalog_changes;
}
bool ReorderBufferXidHasCatalogChanges ( ReorderBuffer * rb , TransactionId xid ) { ReorderBufferTXN * txn ; txn = ReorderBufferTXNByXid ( rb , xid , false , NULL , InvalidXLogRecPtr , false ) ; if ( txn == NULL ) return false ; return txn -> has_catalog_changes ; }
Query whether a transaction is already *known* to contain catalog
 changes.
Query whether a transaction is already * known * to contain catalog changes .