Re: ALTER TABLE SET ACCESS METHOD on partitioned tables - Mailing list pgsql-hackers

From Robert Haas
Subject Re: ALTER TABLE SET ACCESS METHOD on partitioned tables
Date
Msg-id CA+TgmoZ-t+_Wy2vsaTwqZUSOLhqjT_S9=c5Ku0ih+uTUdUV8hg@mail.gmail.com
Whole thread Raw
In response to Re: ALTER TABLE SET ACCESS METHOD on partitioned tables  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
On Thu, Feb 1, 2024 at 10:51 AM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> I think this works similarly but not identically to tablespace defaults,
> and the difference could be confusing.  You seem to have made it so that
> the partitioned table _always_ have a table AM, so the partitions can
> always inherit from it.  I think it would be more sensible to _allow_
> partitioned tables to have one, but not mandatory; if they don't have
> it, then a partition created from it would use default_table_access_method.

I agree that we don't want this feature to invent any new behavior. If
it's clearly and fully parallel to what we do for tablespaces, then I
think it's probably OK, but anything less than that would be a cause
for concern for me.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Jan Katins
Date:
Subject: Re: POC: Extension for adding distributed tracing - pg_tracing
Next
From: Hannu Krosing
Date:
Subject: Re: pgbench - adding pl/pgsql versions of tests