From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Band-aid fix for incorrect use of view options as StdRdOptions. |
Date: | 2016-11-07 17:08:29 |
Message-ID: | E1c3nPJ-0007FG-Kr@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)1477940227(at)sss(dot)pgh(dot)pa(dot)us>
Branch
------
REL9_6_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/5ee3a7453a428890ed4c0a1061c367e510b8253b
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2016-11-08 01:31:35 | pgsql: Change qr/foo$/m to qr/foo\n/m, for Perl 5.8.8. |
Previous Message | Tom Lane | 2016-11-07 15:28:23 | pgsql: Revert "Provide DLLEXPORT markers for C functions via PG_FUNCTIO |