pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.
@ 2016-11-07 17:08  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2016-11-07 17:08 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.
@ 2016-11-07 17:08  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2016-11-07 17:08 UTC (permalink / raw)
  To: 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
------
REL9_5_STABLE

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

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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.
@ 2016-11-07 17:08  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2016-11-07 17:08 UTC (permalink / raw)
  To: 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
------
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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-11-07 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07 17:08 pgsql: Band-aid fix for incorrect use of view options as StdRdOptions. Tom Lane <tgl@sss.pgh.pa.us>
2016-11-07 17:08 pgsql: Band-aid fix for incorrect use of view options as StdRdOptions. Tom Lane <tgl@sss.pgh.pa.us>
2016-11-07 17:08 pgsql: Band-aid fix for incorrect use of view options as StdRdOptions. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox