Re: Align tests for stored and virtual generated columns - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Align tests for stored and virtual generated columns
Date
Msg-id 0dddf337-dc15-4172-b9e5-58c24fdb64cd@eisentraut.org
Whole thread Raw
In response to Align tests for stored and virtual generated columns  (Yugo Nagata <nagata@sraoss.co.jp>)
List pgsql-hackers
On 08.08.25 04:51, Yugo Nagata wrote:
> I noticed that the tests for virtual and stored generated columns
> contain the following comment;
> 
>   -- keep these tests aligned with generated_stored.sql (or generated_virtual.sql)
> 
> However, it seems that some additional tests for virtual generated columns
> disrupted that alignment, as they were not added to generated_stored.sql.
> 
> I've attached a patch to restore the alignment.
> 
> In addition, I moved the test confirming that user-defined types are not allowed
> in virtual generated columns to the generated_virtual.sql-specific section,
> since this test is not necessary for stored generated columns.

Committed, thanks.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add "format" target to make and ninja to run pgindent and pgperltidy
Next
From: Fujii Masao
Date:
Subject: Re: [PATCH] Fix unexpected loss of DEFERRABLE property after toggling NOT ENFORCED / ENFORCED