Re: [HACKERS] Partitioned tables and relfilenode - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] Partitioned tables and relfilenode
Date
Msg-id CAB7nPqTPa-_B2y6rOgXvyiXOcG9UvUy3Hsdzo5S1yjRiN-WbcA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Partitioned tables and relfilenode  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [HACKERS] Partitioned tables and relfilenode  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
On Tue, Feb 28, 2017 at 12:23 PM, Bruce Momjian <bruce@momjian.us> wrote:
> I am a little confused by the above.  Is a partitioned table the parent
> or the children?  Reading the code it seems it is the parent, which
> explains why it works.  Can I clarify that?

As I understand things, a partitioned table is a parent relation that
exists only to link to its child portions, holding as well the
definitions linking to each partition.
-- 
Michael



pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: [HACKERS] Restricting maximum keep segments by repslots
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] PATCH: two slab-like memory allocators