]> granicus.if.org Git - postgresql/commit
Band-aid fix for incorrect use of view options as StdRdOptions.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Nov 2016 17:08:18 +0000 (12:08 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Nov 2016 17:08:18 +0000 (12:08 -0500)
commite3e66d8a9813d22c2aa027d8f373a96d4d4c1b15
tree48f815cb2561f9e5cc7d4adeaf375180f49470ef
parentc59f94e81e56fe24428952f116f3c9555f42cc4f
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>
src/include/utils/rel.h
src/test/regress/expected/insert_conflict.out
src/test/regress/sql/insert_conflict.sql