Fix deparsing of ON CONFLICT arbiter WHERE clauses.
Tom Lane <tgl@sss.pgh.pa.us>
Fix deparsing of ON CONFLICT arbiter WHERE clauses. The parser doesn't allow qualification of column names appearing in these clauses, but ruleutils.c would sometimes qualify them, leading to dump/reload failures. Per bug #13891 from Onder Kalaci. (In passing, make stanzas in ruleutils.c that save/restore varprefix more consistent.) Peter Geoghegan
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/ruleutils.c | modified | +16 −3 |
| src/test/regress/expected/rules.out | modified | +2 −2 |