The following sentence in the ALTER TABLE documentation is not entirely
"All the actions except RENAME, SET TABLESPACE and SET SCHEMA can be
combined into a list of multiple alterations to apply in parallel."
SET TABLESPACE (in the ALTER TABLE form) can be combined with other
subcommands; for example, following works:
alter table foo set tablespace mytbls, add b int;
Perhaps, it should say something like:
All the actions except RENAME, SET TABLESPACE (when using the ALL IN
TABLESPACE form) and SET SCHEMA can be combined into a list of multiple
alterations to apply in parallel.
Attached is a patch.
pgsql-hackers by date
|Next:||From: Etsuro Fujita||Date: 2016-11-30 08:25:04|
|Subject: Re: postgres_fdw : altering foreign table not invalidating
prepare statement execution plan.|
|Previous:||From: Michael Paquier||Date: 2016-11-30 07:56:41|
|Subject: Re: pgsql: Add putenv support for msvcrt from Visual Studio 2013|