Re: Partitioned tables and relfilenode

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Partitioned tables and relfilenode
Date: 2017-02-28 03:29:56
Message-ID: CAB7nPqTPa-_B2y6rOgXvyiXOcG9UvUy3Hsdzo5S1yjRiN-WbcA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 28, 2017 at 12:23 PM, Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-02-28 03:42:32 Re: Restricting maximum keep segments by repslots
Previous Message Kyotaro HORIGUCHI 2017-02-28 03:27:36 Restricting maximum keep segments by repslots