diff options
| author | Tom Lane | 2011-02-16 22:24:06 +0000 |
|---|---|---|
| committer | Tom Lane | 2011-02-16 22:24:46 +0000 |
| commit | 6595dd04d136d5c97ae05fc580572c8f00042143 (patch) | |
| tree | 149ade470a6058e4cc332f5c22bf7230cd8f2c48 /contrib/intarray | |
| parent | b15fabf997fb3cd5e0680a6ad7576377774aae07 (diff) | |
Add backwards-compatible declarations of some core GIN support functions.
These are needed to support reloading dumps of 9.0 installations containing
contrib/intarray or contrib/tsearch2. Since not only regular dump/reload
but binary upgrade would fail, it seems worth the trouble to carry these
stubs for awhile. Note that the contrib opclasses referencing these
functions will still work fine, since GIN doesn't actually pay any
attention to the declared signature of a support function.
Diffstat (limited to 'contrib/intarray')
| -rw-r--r-- | contrib/intarray/intarray--unpackaged--1.0.sql | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/intarray/intarray--unpackaged--1.0.sql b/contrib/intarray/intarray--unpackaged--1.0.sql index 7fd739b0ed..69bdc589b6 100644 --- a/contrib/intarray/intarray--unpackaged--1.0.sql +++ b/contrib/intarray/intarray--unpackaged--1.0.sql @@ -65,7 +65,10 @@ ALTER EXTENSION intarray ADD function g_intbig_union(internal,internal); ALTER EXTENSION intarray ADD function g_intbig_same(internal,internal,internal); ALTER EXTENSION intarray ADD operator family gist__intbig_ops using gist; ALTER EXTENSION intarray ADD operator class gist__intbig_ops using gist; -ALTER EXTENSION intarray ADD function ginint4_queryextract(internal,internal,smallint,internal,internal,internal,internal); -ALTER EXTENSION intarray ADD function ginint4_consistent(internal,smallint,internal,integer,internal,internal,internal,internal); ALTER EXTENSION intarray ADD operator family gin__int_ops using gin; ALTER EXTENSION intarray ADD operator class gin__int_ops using gin; + +-- these two functions have different signatures in 9.1, but we don't +-- bother trying to fix them because GIN doesn't care much +ALTER EXTENSION intarray ADD function ginint4_queryextract(internal,internal,smallint,internal,internal); +ALTER EXTENSION intarray ADD function ginint4_consistent(internal,smallint,internal,integer,internal,internal); |
