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

From Michael Paquier
Subject Re: Missing generated column in ALTER TABLE ADD COLUMN doc
Date
Msg-id 20190611040228.GA2132@paquier.xyz
Whole thread Raw
In response to Re: Missing generated column in ALTER TABLE ADD COLUMN doc  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: Missing generated column in ALTER TABLE ADD COLUMN doc
List pgsql-hackers
On Mon, Jun 10, 2019 at 06:09:53PM +0900, Masahiko Sawada wrote:
> 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 [ ... ] ]

I was looking at the grammar extensions for ADD GENERATED and noticed
what looked like inconsistencies, but your patch as well as the parsed
query are right.  Committed, thanks!
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: rebased background worker reimplementation prototype
Next
From: "Zhang, Jie"
Date:
Subject: RE: [PATCH] memory leak in ecpglib