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.