pgsql: Remove new locale dependency in regproc regression test.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove new locale dependency in regproc regression test.
Date: 2022-12-27 18:06:52
Message-ID: E1pAELj-000hPq-Pe@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove new locale dependency in regproc regression test.

The modified error message for regcollationin failure includes
the database encoding, which it should've occurred to me is a
portability hazard for the regression tests. Adjust the test
so the expected output doesn't include that.

In passing, fix a comment typo introduced in b8c0ffbd2.

Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a5434c52586f37db7f538d3dcc8aa6dd62dfe61e

Modified Files
--------------
src/backend/utils/adt/domains.c | 2 +-
src/test/regress/expected/regproc.out | 14 +++++++-------
src/test/regress/sql/regproc.sql | 4 +++-
3 files changed, 11 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-12-27 19:51:02 pgsql: Convert hstore_in to report errors softly.
Previous Message Tom Lane 2022-12-27 17:33:10 pgsql: Convert the reg* input functions to report (most) errors softly.