mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
Add missing serial commas
Also update one place where the wal_level "logical" was not added to an error message.
This commit is contained in:
@@ -9663,7 +9663,7 @@ do_pg_start_backup(const char *backupidstr, bool fast, TimeLineID *starttli_p,
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
errmsg("WAL level not sufficient for making an online backup"),
|
||||
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.")));
|
||||
|
||||
if (strlen(backupidstr) > MAXPGPATH)
|
||||
ereport(ERROR,
|
||||
@@ -9999,7 +9999,7 @@ do_pg_stop_backup(char *labelfile, bool waitforarchive, TimeLineID *stoptli_p)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
errmsg("WAL level not sufficient for making an online backup"),
|
||||
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.")));
|
||||
|
||||
/*
|
||||
* OK to update backup counters and forcePageWrites
|
||||
|
||||
@@ -144,7 +144,7 @@ pg_create_restore_point(PG_FUNCTION_ARGS)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
|
||||
errmsg("WAL level not sufficient for creating a restore point"),
|
||||
errhint("wal_level must be set to \"archive\" or \"hot_standby\" at server start.")));
|
||||
errhint("wal_level must be set to \"archive\", \"hot_standby\", or \"logical\" at server start.")));
|
||||
|
||||
restore_name_str = text_to_cstring(restore_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user