Re: [v15] ALTER TABLE ... SET ACCESS METHOD

From: Andres Freund <andres(at)anarazel(dot)de>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [v15] ALTER TABLE ... SET ACCESS METHOD
Date: 2021-05-06 03:59:22
Message-ID: 20210506035922.7q7hphgwedaypgfg@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2021-05-05 20:45:50 -0700, Jeff Davis wrote:
> The attached patch implements ALTER TABLE ... SET ACCESS METHOD.

I think it'd be good to have a basic test for this. See create_am.sql
for how to do so without actually needing a second AM implementation.

> For simplicity, I used the normal alter table path, ATRewriteTable(),
> which does not follow the stricter isolation semantics that VACUUM FULL
> follows. If someone thinks that's unacceptable, please let me know.

I think it'd be good to have something better for tablecmd.c table
rewrites - but I don't think it's this patch's responsibility.

Regards,

Andres

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-05-06 04:09:19 Re: Replication slot stats misgivings
Previous Message Andres Freund 2021-05-06 03:56:02 Why do we have perl and sed versions of Gen_dummy_probes?