Ooops, forgot to commit changes to db/structure.sql

This commit is contained in:
Matt Amos 2019-10-21 15:05:16 +01:00
parent d3d4cff1cf
commit 689821c224

View file

@ -184,6 +184,30 @@ END;
$$;
--
-- Name: xid_to_int4(xid); Type: FUNCTION; Schema: public; Owner: -
--
CREATE FUNCTION public.xid_to_int4(t xid) RETURNS integer
LANGUAGE plpgsql STRICT
AS $$
DECLARE
tl bigint;
ti int;
BEGIN
tl := t;
IF tl >= 2147483648 THEN
tl := tl - 4294967296;
END IF;
ti := tl;
RETURN ti;
END;
$$;
SET default_tablespace = '';
SET default_with_oids = false;