From 4132106055abe5329e43c071809970a2b0ea19b6 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 4 Aug 2002 05:12:43 +0000 Subject: [PATCH] Tom Lane: > please find attached patch to current CVS ( contrib/ltree) > Version for 7.2 is distributed as separate package - I believe that patch also intended to remove contrib/ltree/patch.72 --- contrib/ltree/patch.72 | 71 ------------------------------------------ 1 file changed, 71 deletions(-) delete mode 100644 contrib/ltree/patch.72 diff --git a/contrib/ltree/patch.72 b/contrib/ltree/patch.72 deleted file mode 100644 index a03cd2f8c7..0000000000 --- a/contrib/ltree/patch.72 +++ /dev/null @@ -1,71 +0,0 @@ -*** ltree.sql.in Tue Jul 23 18:49:12 2002 ---- ltree.sql.in.72 Wed Jul 17 18:59:08 2002 -*************** -*** 177,188 **** - - - -- B-tree support -! INSERT INTO pg_opclass (opcamid, opcname, opcnamespace, opcowner, opcintype, opcdefault, opckeytype) - VALUES ( - (SELECT oid FROM pg_am WHERE amname = 'btree'), - 'ltree_ops', -- (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog'), -- 1, -- UID of superuser is hardwired to 1 as of PG 7.3 - (SELECT oid FROM pg_type WHERE typname = 'ltree'), - true, - 0); ---- 177,186 ---- - - - -- B-tree support -! INSERT INTO pg_opclass (opcamid, opcname, opcintype, opcdefault, opckeytype) - VALUES ( - (SELECT oid FROM pg_am WHERE amname = 'btree'), - 'ltree_ops', - (SELECT oid FROM pg_type WHERE typname = 'ltree'), - true, - 0); -*************** -*** 376,386 **** - create function ltree_union(bytea, opaque) returns int4 as 'MODULE_PATHNAME' language 'C'; - create function ltree_same(opaque, opaque, opaque) returns opaque as 'MODULE_PATHNAME' language 'C'; - -! INSERT INTO pg_opclass (opcamid, opcname, opcnamespace, opcowner, opcintype, opckeytype, opcdefault) -! SELECT pg_am.oid, 'gist_ltree_ops', -! (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog'), -! 1, -- UID of superuser is hardwired to 1 as of PG 7.3 -! pg_type.oid, pg_key.oid, true - FROM pg_type, pg_am, pg_type pg_key - WHERE pg_type.typname = 'ltree' and - pg_am.amname='gist' and ---- 374,381 ---- - create function ltree_union(bytea, opaque) returns int4 as 'MODULE_PATHNAME' language 'C'; - create function ltree_same(opaque, opaque, opaque) returns opaque as 'MODULE_PATHNAME' language 'C'; - -! INSERT INTO pg_opclass (opcamid, opcname, opcintype, opckeytype, opcdefault) -! SELECT pg_am.oid, 'gist_ltree_ops', pg_type.oid, pg_key.oid, true - FROM pg_type, pg_am, pg_type pg_key - WHERE pg_type.typname = 'ltree' and - pg_am.amname='gist' and -*************** -*** 720,730 **** - create function _ltree_union(bytea, opaque) returns int4 as 'MODULE_PATHNAME' language 'C'; - create function _ltree_same(opaque, opaque, opaque) returns opaque as 'MODULE_PATHNAME' language 'C'; - -! INSERT INTO pg_opclass (opcamid, opcname, opcnamespace, opcowner, opcintype, opckeytype, opcdefault) -! SELECT pg_am.oid, 'gist__ltree_ops', -! (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog'), -! 1, -- UID of superuser is hardwired to 1 as of PG 7.3 -! pg_type.oid, pg_key.oid, true - FROM pg_type, pg_am, pg_type pg_key - WHERE pg_type.typname = '_ltree' and - pg_am.amname='gist' and ---- 715,722 ---- - create function _ltree_union(bytea, opaque) returns int4 as 'MODULE_PATHNAME' language 'C'; - create function _ltree_same(opaque, opaque, opaque) returns opaque as 'MODULE_PATHNAME' language 'C'; - -! INSERT INTO pg_opclass (opcamid, opcname, opcintype, opckeytype, opcdefault) -! SELECT pg_am.oid, 'gist__ltree_ops', pg_type.oid, pg_key.oid, true - FROM pg_type, pg_am, pg_type pg_key - WHERE pg_type.typname = '_ltree' and - pg_am.amname='gist' and -- 2.40.0