diff options
| author | Teodor Sigaev <teodor@sigaev.ru> | 2006-05-03 16:31:07 +0000 |
|---|---|---|
| committer | Teodor Sigaev <teodor@sigaev.ru> | 2006-05-03 16:31:07 +0000 |
| commit | 5320c6cf6b21811eda1910a7df6f05b992fe2aea (patch) | |
| tree | 0d1c7aa43268011628a08e8f7a182c5bad20de3d /contrib/intarray/uninstall__int.sql | |
| parent | 2a58f3bff6ff9abda33af0ed117f068ee02d6c83 (diff) | |
| download | postgresql-5320c6cf6b21811eda1910a7df6f05b992fe2aea.tar.gz | |
Make GIN opclass worked with intarray extensions
Diffstat (limited to 'contrib/intarray/uninstall__int.sql')
| -rw-r--r-- | contrib/intarray/uninstall__int.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/intarray/uninstall__int.sql b/contrib/intarray/uninstall__int.sql index 43fd854c7a..49522b7c6c 100644 --- a/contrib/intarray/uninstall__int.sql +++ b/contrib/intarray/uninstall__int.sql @@ -113,3 +113,8 @@ DROP FUNCTION boolop(_int4, query_int); DROP FUNCTION querytree(query_int); DROP TYPE query_int CASCADE; + +update pg_opclass set opcdefault = 't' where + pg_opclass.opcamid = (select pg_am.oid from pg_am where amname='gin') and + opcname = '_int4_ops'; + |
