1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-22 17:42:17 +03:00

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.
This commit is contained in:
Tom Lane
2022-12-27 13:06:42 -05:00
parent 3ea7329c9a
commit a5434c5258
3 changed files with 11 additions and 9 deletions

View File

@@ -127,7 +127,7 @@ domain_state_setup(Oid domainType, bool binary, MemoryContext mcxt)
* execExpr*.c, but we execute each constraint separately, rather than
* compiling them in-line within a larger expression.
*
* If escontext points to an ErrorStateContext, any failures are reported
* If escontext points to an ErrorSaveContext, any failures are reported
* there, otherwise they are ereport'ed. Note that we do not attempt to do
* soft reporting of errors raised during execution of CHECK constraints.
*/