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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
doc-alter-table-fix.patch text/x-diff 831 bytes

Responses

Browse pgsql-hackers by date

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