pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: show cloned triggers in partitions
Date: Fri, 29 Jun 2018 16:05:25 +0000
Message-ID: <E1fYvtl-0005Ab-G0@gemulon.postgresql.org> (raw)

psql: show cloned triggers in partitions

In a partition, row triggers that had been cloned from their parent
partitioned table would not be listed at all in psql's \d, which could
surprise users, per insistent complaint from Ashutosh Bapat (though his
aim was elsewhere).  The simplest possible fix, suggested by Peter
Eisentraut, seems to be to list triggers marked as internal if they have
a row in pg_depend that points to some other trigger.

Author: Álvaro Herrera
Discussion: https://postgr.es/m/20180618165910.p26vhk7dpq65ix54@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bc87f22ef6ef1137909ed7363976c67cf1efa7da

Modified Files
--------------
src/bin/psql/describe.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)



Message-ID: <E1fYvtl-0005Ab-G0@gemulon.postgresql.org>
Permalink:  ../E1fYvtl-0005Ab-G0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fYvtl-0005Ab-G0@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: psql: show cloned triggers in partitions
  In-Reply-To: <E1fYvtl-0005Ab-G0@gemulon.postgresql.org>
  References: <E1fYvtl-0005Ab-G0@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