Re: \d doesn't show partitioned table foreign keys

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: \d doesn't show partitioned table foreign keys
Дата
Msg-id 20180514153839.lc3yx4mqoj6ua34x@alvherre.pgsql
обсуждение исходный текст
Ответ на \d doesn't show partitioned table foreign keys  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Ответы Re: \d doesn't show partitioned table foreign keys  (Amit Langote <amitlangote09@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SPI/backend equivalent of extended-query Describe(statement)?
Следующее
От: Amit Langote
Дата:
Сообщение: Re: \d doesn't show partitioned table foreign keys