pgsql: Improve generated_stored test

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve generated_stored test
Date: 2025-01-20 14:30:12
Message-ID: E1tZsn6-002Yx0-3v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve generated_stored test

It makes more sense to put the catalog sanity check at the end of the
test rather than at the beginning, so that it can also check whatever
the tests did rather than just whatever happened before the tests.

Suggested-by: jian he <jian(dot)universality(at)gmail(dot)com>

Discussion: https://www.postgresql.org/message-id/flat/a368248e-69e4-40be-9c07-6c3b5880b0a6(at)eisentraut(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/86749ea3b7660b09cfb951a253c24d2975f189f6

Modified Files
--------------
src/test/regress/expected/generated_stored.out | 12 ++++++------
src/test/regress/sql/generated_stored.sql | 8 ++++----
2 files changed, 10 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-01-20 20:48:10 pgsql: Avoid using timezone Asia/Manila in regression tests.
Previous Message Peter Eisentraut 2025-01-20 12:12:04 pgsql: Add some more use of Page/PageData rather than char *