When dumping CREATE INDEX, must show opclass name if the opclass isn't
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/ruleutils.c | modified | +9 −3 |