Re: alter table set TABLE ACCESS METHOD
Justin Pryzby <pryzby@telsasoft.com>
From: Justin Pryzby <pryzby@telsasoft.com>
To: vignesh C <vignesh21@gmail.com>
Cc: Jeff Davis <pgsql@j-davis.com>, Michael Paquier <michael@paquier.xyz>, pgsql-hackers@postgresql.org, Jacob Champion <pchampion@vmware.com>, Heikki Linnakangas <hlinnaka@iki.fi>, Ashwin Agrawal <aagrawal@pivotal.io>, Ashutosh Sharma <ashu.coek88@gmail.com>, Andres Freund <andres@anarazel.de>, Robert Haas <robertmhaas@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>, Alvaro Herrera <alvherre@alvh.no-ip.org>, Dilip Kumar <dilipbalaut@gmail.com>
Date: 2021-07-22T09:41:54Z
Lists: pgsql-hackers
Attachments
- 0001-ALTER-TABLE-.-SET-ACCESS-METHOD.patch (text/x-diff)
On Thu, Jul 22, 2021 at 10:37:12AM +0530, vignesh C wrote: > On Fri, Jul 16, 2021 at 9:19 AM Justin Pryzby <pryzby@telsasoft.com> wrote: > > > > rebased. > > > > Also, there were two redundant checks for multiple SET ACCESS METHOD commands. > > But one of them wasn't hit if the ALTER was setting the current AM due to the > > no-op test. > > > > I think it's better to fail in every case, and not just sometimes (especially > > if we were to use ERRCODE_SYNTAX_ERROR). > > > > I included my 2ndary patch allowing to set the AM of partitioned table, same as > > for a tablespace. > > One of the tests is failing, please post an updated patch for this: > create_am.out 2021-07-22 10:34:56.234654166 +0530 It looks like one hunk was missing/uncommitted from the 0002 patch.. -- Justin
Commits
-
Allow specifying an access method for partitioned tables
- 374c7a229042 17.0 landed
-
Fix regression test output of sepgsql
- 1e3445237b86 15.0 landed
-
Add call to object access hook at the end of table rewrite in ALTER TABLE
- 7b565843a944 15.0 landed
-
Fix typo in tab-complete.c
- 15c6ede04577 15.0 landed
-
Add support for SET ACCESS METHOD in ALTER TABLE
- b0483263dda0 15.0 landed
-
tableam: introduce table AM infrastructure.
- 8586bf7ed888 12.0 cited