X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e222329d043592af299eed12cf6ad16969c1b46f..bf1f882eb8c91f8cc9ab98aa3d2c62d63016a295:/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;