From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Align tests for stored and virtual generated columns
Date: Fri, 27 Mar 2026 14:59:26 +0000
Message-ID: <E1w68ej-001i3L-2m@gemulon.postgresql.org> (raw)
Align tests for stored and virtual generated columns
These tests were intended to be aligned with each other, but
additional tests for virtual generated columns disrupted that
alignment. The test confirming that user-defined types are not
allowed in virtual generated columns has also been moved to the
generated_virtual.sql-specific section.
Author: Yugo Nagata <nagata@sraoss.co.jp>
Reviewed-by: Paul A Jungwirth <pj@illuminatedcomputing.com>
Reviewed-by: Mutaamba Maasha <maasha@gmail.com>
Reviewed-by: Surya Poondla <s_poondla@apple.com>
Discussion: https://www.postgresql.org/message-id/flat/20250808115142.e9ccb81f35466a9a131a4c55@sraoss.co.jp
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9a9998163bda0d8c17d84ea22ced6a60f8018634
Modified Files
--------------
src/test/regress/expected/generated_stored.out | 70 ++++++++++++++++++++++++-
src/test/regress/expected/generated_virtual.out | 14 ++---
src/test/regress/sql/generated_stored.sql | 51 +++++++++++++++++-
src/test/regress/sql/generated_virtual.sql | 8 +--
4 files changed, 128 insertions(+), 15 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Align tests for stored and virtual generated columns
In-Reply-To: <E1w68ej-001i3L-2m@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox