src/backend/utils/adt/xid8funcs.c
static StringInfo
buf_init(FullTransactionId xmin, FullTransactionId xmax)
{
	pg_snapshot snap;
	StringInfo	buf;

	snap.xmin = xmin;
	snap.xmax = xmax;
	snap.nxip = 0;

	buf = makeStringInfo();
	appendBinaryStringInfo(buf, (char *) &snap, PG_SNAPSHOT_SIZE(0));
	return buf;
}
/*
 * helper functions to use StringInfo for pg_snapshot creation.
 */
helper functions to use StringInfo for pg_snapshot creation.
helper functions to use StringInfo for pg_snapshot creation .
static StringInfo
buf_init(FullTransactionId xmin, FullTransactionId xmax)
{
	pg_snapshot snap;
	StringInfo	buf;
	snap.xmin = xmin;
	snap.xmax = xmax;
	snap.nxip = 0;
	buf = makeStringInfo();
	appendBinaryStringInfo(buf, (char *) &snap, PG_SNAPSHOT_SIZE(0));
	return buf;
}
static StringInfo buf_init ( FullTransactionId xmin , FullTransactionId xmax ) { pg_snapshot snap ; StringInfo buf ; snap . xmin = xmin ; snap . xmax = xmax ; snap . nxip = 0 ; buf = makeStringInfo ( ) ; appendBinaryStringInfo ( buf , ( char * ) & snap , PG_SNAPSHOT_SIZE ( 0 ) ) ; return buf ; }
helper functions to use StringInfo for pg_snapshot creation.
helper functions to use StringInfo for pg_snapshot creation .