When dumping CREATE INDEX, must show opclass name if the opclass isn't

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

Commit: f8ee74faebbfaabd254790964cbf64dcffef54a1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-10-02T22:25:08Z
Releases: 7.3.5
When dumping CREATE INDEX, must show opclass name if the opclass isn't
in the schema search path.  Otherwise pg_dump doesn't correctly dump
scenarios where a custom opclass is created in 'public' and then used
by indexes in other schemas.

Files

PathChange+/−
src/backend/utils/adt/ruleutils.c modified +9 −3