pgsql: Band-aid fix for incorrect use of view options as StdRdOptions. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.
Date
Msg-id E1c3nPJ-0007FE-Kn@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Band-aid fix for incorrect use of view options as StdRdOptions.

We really ought to make StdRdOptions and the other decoded forms of
reloptions self-identifying, but for the moment, assume that only plain
relations could possibly be user_catalog_tables.  Fixes problem with bogus
"ON CONFLICT is not supported on table ... used as a catalog table" error
when target is a view with cascade option.

Discussion: <26681.1477940227@sss.pgh.pa.us>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e3e66d8a9813d22c2aa027d8f373a96d4d4c1b15

Modified Files
--------------
src/include/utils/rel.h                       |  3 ++-
src/test/regress/expected/insert_conflict.out | 24 ++++++++++++++++++++++++
src/test/regress/sql/insert_conflict.sql      | 18 ++++++++++++++++++
3 files changed, 44 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Revert "Delete contrib/xml2's legacy implementation of xml_is_we
Next
From: Tom Lane
Date:
Subject: pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.