We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a53878f commit 3506519Copy full SHA for 3506519
src/backend/access/transam/xlog.c
@@ -9639,7 +9639,7 @@ do_pg_start_backup(const char *backupidstr, bool fast, TimeLineID *starttli_p,
9639
ereport(ERROR,
9640
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
9641
errmsg("WAL level not sufficient for making an online backup"),
9642
- errhint("wal_level must be set to \"archive\", \"hot_standby\" or \"logical\" at server start.")));
+ errhint("wal_level must be set to \"archive\", \"hot_standby\", or \"logical\" at server start.")));
9643
9644
if (strlen(backupidstr) > MAXPGPATH)
9645
@@ -9975,7 +9975,7 @@ do_pg_stop_backup(char *labelfile, bool waitforarchive, TimeLineID *stoptli_p)
9975
9976
9977
9978
9979
9980
/*
9981
* OK to update backup counters and forcePageWrites
src/backend/access/transam/xlogfuncs.c
@@ -144,7 +144,7 @@ pg_create_restore_point(PG_FUNCTION_ARGS)
144
145
146
errmsg("WAL level not sufficient for creating a restore point"),
147
- errhint("wal_level must be set to \"archive\" or \"hot_standby\" at server start.")));
148
149
restore_name_str = text_to_cstring(restore_name);
150
src/backend/postmaster/postmaster.c
@@ -829,10 +829,10 @@ PostmasterMain(int argc, char *argv[])
829
}
830
if (XLogArchiveMode && wal_level == WAL_LEVEL_MINIMAL)
831
832
- (errmsg("WAL archival (archive_mode=on) requires wal_level \"archive\", \"hot_standby\" or \"logical\"")));
+ (errmsg("WAL archival (archive_mode=on) requires wal_level \"archive\", \"hot_standby\", or \"logical\"")));
833
if (max_wal_senders > 0 && wal_level == WAL_LEVEL_MINIMAL)
834
835
- (errmsg("WAL streaming (max_wal_senders > 0) requires wal_level \"archive\", \"hot_standby\" or \"logical\"")));
+ (errmsg("WAL streaming (max_wal_senders > 0) requires wal_level \"archive\", \"hot_standby\", or \"logical\"")));
836
837
838
* Other one-time internal sanity checks can go here, if they are fast.
src/backend/utils/adt/json.c
@@ -1347,7 +1347,7 @@ datum_to_json(Datum val, bool is_null, StringInfo result,
1347
tcategory == JSONTYPE_CAST))
1348
1349
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
1350
- errmsg("key value must be scalar, not array, composite or json")));
+ errmsg("key value must be scalar, not array, composite, or json")));
1351
1352
switch (tcategory)
1353
{
src/test/regress/expected/json.out
@@ -1152,11 +1152,11 @@ SELECT json_build_object(1,2);
1152
SELECT json_build_object(null,2);
1153
ERROR: arg 1: key cannot be null
1154
SELECT json_build_object(r,2) FROM (SELECT 1 AS a, 2 AS b) r;
1155
-ERROR: key value must be scalar, not array, composite or json
+ERROR: key value must be scalar, not array, composite, or json
1156
SELECT json_build_object(json '{"a":1,"b":2}', 3);
1157
1158
SELECT json_build_object('{1,2,3}'::int[], 3);
1159
1160
CREATE TEMP TABLE foo (serial_num int, name text, type text);
1161
INSERT INTO foo VALUES (847001,'t15','GE1043');
1162
INSERT INTO foo VALUES (847002,'t16','GE1043');
src/test/regress/expected/json_1.out
@@ -1148,11 +1148,11 @@ SELECT json_build_object(1,2);
1148
1149
1150
1151
0 commit comments