]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Change search for default operator classes so that it examines all opclasses
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 10 Feb 2006 19:01:22 +0000 (19:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 10 Feb 2006 19:01:22 +0000 (19:01 +0000)
commit2d26c4be8e65cad49365d0129d4ce9ba4769e9ec
treecd5a2ce44455080d3c690b7038ccb6db845a30a6
parentf9e03aa8e9723ecda49059486b3f5124125bb64d
Change search for default operator classes so that it examines all opclasses
regardless of the current schema search path.  Since CREATE OPERATOR CLASS
only allows one default opclass per datatype regardless of schemas, this
should have minimal impact, and it fixes problems with failure to find a
desired opclass while restoring dump files.  Per discussion at
http://archives.postgresql.org/pgsql-hackers/2006-02/msg00284.php.
Remove now-redundant-or-unused code in typcache.c and namespace.c,
and backpatch as far as 8.0.
src/backend/catalog/namespace.c
src/backend/commands/indexcmds.c
src/backend/utils/cache/typcache.c
src/include/catalog/namespace.h
src/include/commands/defrem.h