Re: Missing generated column in ALTER TABLE ADD COLUMN doc - Mailing list pgsql-hackers

From Masahiko Sawada
Subject Re: Missing generated column in ALTER TABLE ADD COLUMN doc
Date
Msg-id CAD21AoBVxjWUweb7JPW-CEEZxy7vqZwFeyzYm+j2gbf=+vs_ZA@mail.gmail.com
Whole thread Raw
In response to Re: Missing generated column in ALTER TABLE ADD COLUMN doc  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Missing generated column in ALTER TABLE ADD COLUMN doc
List pgsql-hackers
On Mon, Jun 10, 2019 at 5:05 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Fri, Jun 07, 2019 at 06:07:34PM +0900, Masahiko Sawada wrote:
> > We support ALTER TABLE ADD COLUMN .. GENERATED ALWAYS AS .. but the
> > doc is missing it. Attached small patch fixes this.
>
> Your patch updates the section related to constraint_name.  Don't you
> need an extra line for the "action" part?

We already have the following line in action part but you mean we need
an extra line for that?

   ADD [ COLUMN ] [ IF NOT EXISTS ] column_name data_type [ COLLATE
collation ] [ column_constraint [ ... ] ]

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: postgres_fdw: unordered C includes
Next
From: David Rowley
Date:
Subject: Re: Should we warn against using too many partitions?