src/backend/replication/logical/reorderbuffer.c
static void
ReorderBufferToastInitHash(ReorderBuffer *rb, ReorderBufferTXN *txn)
{
	HASHCTL		hash_ctl;

	Assert(txn->toast_hash == NULL);

	memset(&hash_ctl, 0, sizeof(hash_ctl));
	hash_ctl.keysize = sizeof(Oid);
	hash_ctl.entrysize = sizeof(ReorderBufferToastEnt);
	hash_ctl.hcxt = rb->context;
	txn->toast_hash = hash_create("ReorderBufferToastHash", 5, &hash_ctl,
								  HASH_ELEM | HASH_BLOBS | HASH_CONTEXT);
}
/*
 * Initialize per tuple toast reconstruction support.
 */
Initialize per tuple toast reconstruction support.
Initialize per tuple toast reconstruction support .
static void
ReorderBufferToastInitHash(ReorderBuffer *rb, ReorderBufferTXN *txn)
{
	HASHCTL		hash_ctl;
	Assert(txn->toast_hash == NULL);
	memset(&hash_ctl, 0, sizeof(hash_ctl));
	hash_ctl.keysize = sizeof(Oid);
	hash_ctl.entrysize = sizeof(ReorderBufferToastEnt);
	hash_ctl.hcxt = rb->context;
	txn->toast_hash = hash_create("ReorderBufferToastHash", 5, &hash_ctl,
								  HASH_ELEM | HASH_BLOBS | HASH_CONTEXT);
}
static void ReorderBufferToastInitHash ( ReorderBuffer * rb , ReorderBufferTXN * txn ) { HASHCTL hash_ctl ; Assert ( txn -> toast_hash == NULL ) ; memset ( & hash_ctl , 0 , sizeof ( hash_ctl ) ) ; hash_ctl . keysize = sizeof ( Oid ) ; hash_ctl . entrysize = sizeof ( ReorderBufferToastEnt ) ; hash_ctl . hcxt = rb -> context ; txn -> toast_hash = hash_create ( " " , 5 , & hash_ctl , HASH_ELEM | HASH_BLOBS | HASH_CONTEXT ) ; }
Initialize per tuple toast reconstruction support.
Initialize per tuple toast reconstruction support .