Merge branch 'master' into next

This commit is contained in:
Tom Hughes 2018-06-10 17:02:12 +01:00
commit d3700e6201
471 changed files with 490115 additions and 102173 deletions

View file

@ -1,11 +1,16 @@
#include <postgres.h>
#include <fmgr.h>
int xid_to_int4(TransactionId xid)
Datum
xid_to_int4(PG_FUNCTION_ARGS)
{
return xid;
TransactionId xid = PG_GETARG_INT32(0);
PG_RETURN_INT32(xid);
}
PG_FUNCTION_INFO_V1(xid_to_int4);
/*
* To bind this into PGSQL, try something like:
*