Re: Show expression of virtual columns in error messages - Mailing list pgsql-hackers

From Matheus Alcantara
Subject Re: Show expression of virtual columns in error messages
Date
Msg-id 68dcb0b5-1c0b-41ed-b2eb-bbb12c3ea5f3@gmail.com
Whole thread Raw
In response to Re: Show expression of virtual columns in error messages  ("Matheus Alcantara" <matheusssilv97@gmail.com>)
List pgsql-hackers
On 03/03/26 14:01, I wrote:
> Please see the attached patch where I implement this. I followed a
> similar pattern used for stored generated columns with some small
> changes. Some special handling for virtual columns was removed but I
> still left some comments but I'm not sure if it's really needed.
> 
> With this change I think that doc/src/sgml/ddl.sgml should be updated
> to mention that a virtual generated column expression is also
> evaluated when writing the data ...
> 

Attaching v5 with documentation changes included and rebased with master.

--
Matheus Alcantara
EDB: https://www.enterprisedb.com
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Change copyObject() to use typeof_unqual
Next
From: Robert Treat
Date:
Subject: Re: Adding REPACK [concurrently]