From a5434c52586f37db7f538d3dcc8aa6dd62dfe61e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 27 Dec 2022 13:06:42 -0500 Subject: 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. --- src/backend/utils/adt/domains.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/utils/adt/domains.c') 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. */ -- cgit v1.2.3