Re: TOAST table created for partitioned tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: TOAST table created for partitioned tables
Date: 2018-01-17 04:38:58
Message-ID: 18167.1516163938@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Amit Langote <amitlangote09(at)gmail(dot)com> writes:
> On Wed, Jan 17, 2018 at 5:32 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> Aargh. Will apply this patch break pg_upgrade from v10?

> AFAICS, it doesn't. Partitioned tables that used to have a TOAST
> table in v10 cluster will continue to have it after upgrading.
> Whereas, any partitioned tables created with the patched won't have a
> TOAST table.

Yeah, pg_upgrade already has to cope with cases where the newer version
thinks a table needs a toast table when the older version didn't, or
vice versa. This looks like it ought to fall into that category.
Not that testing it wouldn't be a good idea.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-01-17 04:51:06 Re: TOAST table created for partitioned tables
Previous Message Michael Paquier 2018-01-17 04:38:07 Re: [HACKERS] replace GrantObjectType with ObjectType