Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit38abc39

Browse files
committed
Add missing serial commas
1 parentfc5b83b commit38abc39

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎src/backend/commands/publicationcmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ check_simple_rowfilter_expr_walker(Node *node, ParseState *pstate)
613613
/* OK, supported */
614614
break;
615615
default:
616-
errdetail_msg=_("Expressions only allow columns, constants, built-in operators, built-in data types, built-in collations and immutable built-in functions.");
616+
errdetail_msg=_("Expressions only allow columns, constants, built-in operators, built-in data types, built-in collations, and immutable built-in functions.");
617617
break;
618618
}
619619

‎src/backend/utils/adt/jsonpath_exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3134,7 +3134,7 @@ JsonItemFromDatum(Datum val, Oid typid, int32 typmod, JsonbValue *res)
31343134
default:
31353135
ereport(ERROR,
31363136
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
3137-
errmsg("only bool, numeric and text types could be "
3137+
errmsg("only bool, numeric, and text types could be "
31383138
"casted to supported jsonpath types.")));
31393139
}
31403140
}

‎src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4360,7 +4360,7 @@ static struct config_string ConfigureNamesString[] =
43604360
{"log_destination",PGC_SIGHUP,LOGGING_WHERE,
43614361
gettext_noop("Sets the destination for server log output."),
43624362
gettext_noop("Valid values are combinations of \"stderr\", "
4363-
"\"syslog\", \"csvlog\", \"jsonlog\" and \"eventlog\", "
4363+
"\"syslog\", \"csvlog\", \"jsonlog\", and \"eventlog\", "
43644364
"depending on the platform."),
43654365
GUC_LIST_INPUT
43664366
},

‎src/test/regress/expected/publication.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ CREATE PUBLICATION testpub6 FOR TABLE testpub_rf_tbl1 WHERE (a IN (SELECT genera
441441
ERROR: invalid publication WHERE expression
442442
LINE 1: ...ICATION testpub6 FOR TABLE testpub_rf_tbl1 WHERE (a IN (SELE...
443443
^
444-
DETAIL: Expressions only allow columns, constants, built-in operators, built-in data types, built-in collations and immutable built-in functions.
444+
DETAIL: Expressions only allow columns, constants, built-in operators, built-in data types, built-in collations, and immutable built-in functions.
445445
-- fail - system columns are not allowed
446446
CREATE PUBLICATION testpub6 FOR TABLE testpub_rf_tbl1 WHERE ('(0,1)'::tid = ctid);
447447
ERROR: invalid publication WHERE expression

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp