Re: [HACKERS] New partitioning - some feedback - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] New partitioning - some feedback
Date
Msg-id CA+Tgmoa2pU8xdqvemjCbSCxM2a4Dqw8cTKsRVaf-FW4kKJ0k5A@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] New partitioning - some feedback  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: [HACKERS] New partitioning - some feedback
Re: [HACKERS] New partitioning - some feedback
Re: [HACKERS] New partitioning - some feedback
List pgsql-hackers
On Mon, Jul 10, 2017 at 2:15 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:
> I posted a patch upthread which makes \d hide partitions (relispartition =
> true relations) and include them if the newly proposed '!' modifier is
> specified.  The '+' modifier is being used to show additional detail of
> relations chosen to be listed at all, so it seemed like a bad idea to
> extend its meaning to also dictate whether partitions are to be listed.

+1.  That'd be a mess.

> Actually, if \d had shown RELKIND_PARTITIONED_TABLE tables as of Type
> "partitioned table", we wouldn't need a separate flag for marking a table
> as having partitions.

I think that is false.  Whether something is partitioned and whether
it is a partition are independent concerns.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Add support for tuple routing to foreign partitions
Next
From: David Fetter
Date:
Subject: Re: [HACKERS] New partitioning - some feedback