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 07:51:26
Message-ID: d5cf9508-1e4c-f6a1-5533-4e81ab17e1ba@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
sub-commands; 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-11-30 07:56:41 Re: pgsql: Add putenv support for msvcrt from Visual Studio 2013
Previous Message Fabien COELHO 2016-11-30 07:45:18 Re: PSQL commands: \quit_if, \quit_unless