Re: \d doesn't show partitioned table foreign keys - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: \d doesn't show partitioned table foreign keys
Date
Msg-id 20180514153839.lc3yx4mqoj6ua34x@alvherre.pgsql
Whole thread Raw
In response to \d doesn't show partitioned table foreign keys  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: \d doesn't show partitioned table foreign keys  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-hackers
On 2018-May-14, Amit Langote wrote:

> Hi.
> 
> I just noticed $subject, which attached seems to fix, although not sure if
> that's the correct fix for the issue.

The fix looks good to me.  Will push shortly.

A related issue is that \d of the referenced table shows both the
partitioned table as well as all of its partitions, which seems too
repetitive.  I think we should only list the partitioned table itself.
Thoughts?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SPI/backend equivalent of extended-query Describe(statement)?
Next
From: Amit Langote
Date:
Subject: Re: \d doesn't show partitioned table foreign keys