Re: Virtual generated columns - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Virtual generated columns
Date
Msg-id 69d11629-6a78-4086-a4c1-4693dd39ac5e@eisentraut.org
Whole thread Raw
In response to Re: Virtual generated columns  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
On 28.06.24 02:00, jian he wrote:
> inhttps://www.postgresql.org/docs/current/catalog-pg-attrdef.html
> The catalog pg_attrdef stores column default values. The main
> information about columns is stored in pg_attribute. Only columns for
> which a default value has been explicitly set will have an entry here.
> didn't mention generated columns related expressions.
> Do we need to add something here? maybe a separate issue?

Yes and yes.  I have committed a separate change to update the 
documentation here.



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Surround CheckRelation[Oid]LockedByMe() with USE_ASSERT_CHECKING
Next
From: jian he
Date:
Subject: Re: pgsql: Add more SQL/JSON constructor functions