5 xid_to_int4(PG_FUNCTION_ARGS)
7 TransactionId xid = PG_GETARG_INT32(0);
12 PG_FUNCTION_INFO_V1(xid_to_int4);
15 * To bind this into PGSQL, try something like:
17 * CREATE FUNCTION xid_to_int4(xid) RETURNS int4
18 * AS '/path/to/rails-port/db/functions/libpgosm', 'xid_to_int4'
19 * LANGUAGE C IMMUTABLE STRICT;
21 * (without all the *s)