Re: Note that ALTER TABLE cannot alter generated stored columns

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: emre(at)hasegeli(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: Note that ALTER TABLE cannot alter generated stored columns
Date: 2021-05-31 05:42:46
Message-ID: 305dcaf2d73773357b3639e63e77383db15176d8.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sun, 2021-05-30 at 16:25 +0300, Emre Hasegeli wrote:
> I was trying to change the generation expression of a generated stored
> column using ALTER TABLE. It took me a while before I figured SET
> GENERATED applies only to generated identity columns. I think it'd be
> useful to note this in the documentation with something like the
> attached.

+1

Yours,
Laurenz Albe

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2021-05-31 07:31:23 Vacuum full and reindex
Previous Message Emre Hasegeli 2021-05-30 13:25:23 Note that ALTER TABLE cannot alter generated stored columns