diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-12-27 13:06:42 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-12-27 13:06:42 -0500 |
commit | a5434c52586f37db7f538d3dcc8aa6dd62dfe61e (patch) | |
tree | 954be0262a9fb55583953b7d8311c54dea5caf91 /src/backend/utils/adt/domains.c | |
parent | 3ea7329c9a79ade27b5d3742d1a41ce6d0d9aca8 (diff) | |
download | postgresql-a5434c52586f37db7f538d3dcc8aa6dd62dfe61e.tar.gz postgresql-a5434c52586f37db7f538d3dcc8aa6dd62dfe61e.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/domains.c')
-rw-r--r-- | src/backend/utils/adt/domains.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/domains.c b/src/backend/utils/adt/domains.c index 99aeaddb5d2..8aac01cf4cb 100644 --- a/src/backend/utils/adt/domains.c +++ b/src/backend/utils/adt/domains.c @@ -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. */ |