Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/catalog:
        namespace.c (r1.80 -> r1.81)
        
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/namespace.c.diff?r1=1.80&r2=1.81)
    pgsql/src/backend/commands:
        indexcmds.c (r1.136 -> r1.137)
        
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/indexcmds.c.diff?r1=1.136&r2=1.137)
    pgsql/src/backend/utils/cache:
        typcache.c (r1.16 -> r1.17)
        
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/typcache.c.diff?r1=1.16&r2=1.17)
    pgsql/src/include/catalog:
        namespace.h (r1.37 -> r1.38)
        
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/namespace.h.diff?r1=1.37&r2=1.38)
    pgsql/src/include/commands:
        defrem.h (r1.69 -> r1.70)
        
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/commands/defrem.h.diff?r1=1.69&r2=1.70)

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to