pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.
Date: Mon, 07 Nov 2016 17:08:29 +0000
Message-ID: <E1c3nPJ-0007FE-Kn@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


view thread (3+ messages)  latest in thread

Message-ID: <E1c3nPJ-0007FE-Kn@gemulon.postgresql.org>
Permalink:  ../E1c3nPJ-0007FE-Kn@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1c3nPJ-0007FE-Kn@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Band-aid fix for incorrect use of view options as StdRdOptions.
  In-Reply-To: <E1c3nPJ-0007FE-Kn@gemulon.postgresql.org>
  References: <E1c3nPJ-0007FE-Kn@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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