1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-27 22:56:53 +03:00

Add missing serial commas

This commit is contained in:
Peter Eisentraut 2022-04-09 16:15:01 +02:00
parent fc5b83bb60
commit 38abc39c81
4 changed files with 4 additions and 4 deletions

View File

@ -613,7 +613,7 @@ check_simple_rowfilter_expr_walker(Node *node, ParseState *pstate)
/* OK, supported */ /* OK, supported */
break; break;
default: default:
errdetail_msg = _("Expressions only allow columns, constants, built-in operators, built-in data types, built-in collations and immutable built-in functions."); errdetail_msg = _("Expressions only allow columns, constants, built-in operators, built-in data types, built-in collations, and immutable built-in functions.");
break; break;
} }

View File

@ -3134,7 +3134,7 @@ JsonItemFromDatum(Datum val, Oid typid, int32 typmod, JsonbValue *res)
default: default:
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("only bool, numeric and text types could be " errmsg("only bool, numeric, and text types could be "
"casted to supported jsonpath types."))); "casted to supported jsonpath types.")));
} }
} }

View File

@ -4360,7 +4360,7 @@ static struct config_string ConfigureNamesString[] =
{"log_destination", PGC_SIGHUP, LOGGING_WHERE, {"log_destination", PGC_SIGHUP, LOGGING_WHERE,
gettext_noop("Sets the destination for server log output."), gettext_noop("Sets the destination for server log output."),
gettext_noop("Valid values are combinations of \"stderr\", " gettext_noop("Valid values are combinations of \"stderr\", "
"\"syslog\", \"csvlog\", \"jsonlog\" and \"eventlog\", " "\"syslog\", \"csvlog\", \"jsonlog\", and \"eventlog\", "
"depending on the platform."), "depending on the platform."),
GUC_LIST_INPUT GUC_LIST_INPUT
}, },

View File

@ -441,7 +441,7 @@ CREATE PUBLICATION testpub6 FOR TABLE testpub_rf_tbl1 WHERE (a IN (SELECT genera
ERROR: invalid publication WHERE expression ERROR: invalid publication WHERE expression
LINE 1: ...ICATION testpub6 FOR TABLE testpub_rf_tbl1 WHERE (a IN (SELE... LINE 1: ...ICATION testpub6 FOR TABLE testpub_rf_tbl1 WHERE (a IN (SELE...
^ ^
DETAIL: Expressions only allow columns, constants, built-in operators, built-in data types, built-in collations and immutable built-in functions. DETAIL: Expressions only allow columns, constants, built-in operators, built-in data types, built-in collations, and immutable built-in functions.
-- fail - system columns are not allowed -- fail - system columns are not allowed
CREATE PUBLICATION testpub6 FOR TABLE testpub_rf_tbl1 WHERE ('(0,1)'::tid = ctid); CREATE PUBLICATION testpub6 FOR TABLE testpub_rf_tbl1 WHERE ('(0,1)'::tid = ctid);
ERROR: invalid publication WHERE expression ERROR: invalid publication WHERE expression