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

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: \d doesn't show partitioned table foreign keys
Дата
Msg-id CA+HiwqF-7zY-Ok45qQ928c0gXZD8Nr0Qf-tWEwcnbCSA_5p83w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: \d doesn't show partitioned table foreign keys  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Tue, May 15, 2018 at 12:38 AM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> 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.

Thank you.

> 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?

Yeah, I think showing only the partitioned table makes sense, assuming
that the triggers and constraint entries on the partitions are an
implementation detail.  Right?

Thanks,
Amit


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: \d doesn't show partitioned table foreign keys
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Incorrect path in header comment identification