Skip site navigation (1) Skip section navigation (2)

Minor correction in alter_table.sgml

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Minor correction in alter_table.sgml
Date: 2016-11-30 08:01:02
Message-ID: 14c535b4-13ef-0590-1b98-76af355a0763@lab.ntt.co.jp (view raw or whole thread)
Thread:
Lists: pgsql-hackers
The following sentence in the ALTER TABLE documentation is not entirely
accurate:

"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.

Thanks,
Amit

Attachment: doc-alter-table-fix.patch
Description: text/x-diff (831 bytes)

Responses

pgsql-hackers by date

Next:From: Etsuro FujitaDate: 2016-11-30 08:25:04
Subject: Re: postgres_fdw : altering foreign table not invalidating prepare statement execution plan.
Previous:From: Michael PaquierDate: 2016-11-30 07:56:41
Subject: Re: pgsql: Add putenv support for msvcrt from Visual Studio 2013

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group