Change search for default operator classes so that it examines all opclasses

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2d26c4be8e65cad49365d0129d4ce9ba4769e9ec
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-02-10T19:01:22Z
Releases: 8.1.3
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.

Files