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

From Peter Eisentraut
Subject Re: Show expression of virtual columns in error messages
Date
Msg-id 7c18e854-0ddb-4670-b0c4-f2541b5edd91@eisentraut.org
Whole thread Raw
In response to Show expression of virtual columns in error messages  ("Matheus Alcantara" <matheusssilv97@gmail.com>)
Responses Re: Show expression of virtual columns in error messages
List pgsql-hackers
On 03.02.26 15:06, Matheus Alcantara wrote:
> The attached patch changes this behavior to show the virtual column
> expression instead:
> 
>    ERROR:  new row for relation "t" violates check constraint "t_c_check"
>    DETAIL:  Failing row contains (5, 10, a * 2).

Could be useful, but in this context you don't know which column is "a"?



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: AIX support
Next
From: David Geier
Date:
Subject: Re: Convert NOT IN sublinks to anti-joins when safe