4 int xid_to_int4(TransactionId xid)
10 * To bind this into PGSQL, try something like:
12 * CREATE FUNCTION xid_to_int4(xid) RETURNS int4
13 * AS '/path/to/rails-port/db/functions/libpgosm', 'xid_to_int4'
14 * LANGUAGE C IMMUTABLE STRICT;
16 * (without all the *s)