From 26f7802beb2a4aafa0903f5bedeb7f1fa6f4f358 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 24 Sep 2022 18:38:35 -0400 Subject: Message style improvements --- src/backend/backup/basebackup_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/backup/basebackup_server.c') diff --git a/src/backend/backup/basebackup_server.c b/src/backend/backup/basebackup_server.c index d020a92bfab..0258d7a03b3 100644 --- a/src/backend/backup/basebackup_server.c +++ b/src/backend/backup/basebackup_server.c @@ -72,7 +72,7 @@ bbsink_server_new(bbsink *next, char *pathname) if (!has_privs_of_role(GetUserId(), ROLE_PG_WRITE_SERVER_FILES)) ereport(ERROR, (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), - errmsg("must be superuser or a role with privileges of the pg_write_server_files role to create server backup"))); + errmsg("must be superuser or a role with privileges of the pg_write_server_files role to create backup stored on server"))); CommitTransactionCommand(); /* @@ -86,7 +86,7 @@ bbsink_server_new(bbsink *next, char *pathname) if (!is_absolute_path(pathname)) ereport(ERROR, (errcode(ERRCODE_INVALID_NAME), - errmsg("relative path not allowed for server backup"))); + errmsg("relative path not allowed for backup stored on server"))); switch (pg_check_dir(pathname)) { -- cgit v1.2.3