X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9018d1af07c53b03bf8caf0480b931dc25f57147..d8d1ab17764e5e0a7af99248cb5047d2af99d534:/db/structure.sql diff --git a/db/structure.sql b/db/structure.sql index a45bb0a70..e50e50278 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -147,30 +147,6 @@ END; $$; --- --- Name: xid_to_int4(xid); Type: FUNCTION; Schema: public; Owner: - --- - -CREATE FUNCTION public.xid_to_int4(t xid) RETURNS integer - LANGUAGE plpgsql IMMUTABLE 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_table_access_method = heap;