Skip to content

Commit a0b6515

Browse files
committed
Message style improvements
1 parent 32914d9 commit a0b6515

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/backend/backup/basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ parse_basebackup_options(List *options, basebackup_options *opt)
908908
if (target_detail_str != NULL)
909909
ereport(ERROR,
910910
(errcode(ERRCODE_SYNTAX_ERROR),
911-
errmsg("target '%s' does not accept a target detail",
911+
errmsg("target \"%s\" does not accept a target detail",
912912
target_str)));
913913
opt->send_to_client = true;
914914
}

src/backend/backup/basebackup_target.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ reject_target_detail(char *target, char *target_detail)
215215
if (target_detail != NULL)
216216
ereport(ERROR,
217217
(errcode(ERRCODE_SYNTAX_ERROR),
218-
errmsg("target '%s' does not accept a target detail",
218+
errmsg("target \"%s\" does not accept a target detail",
219219
target)));
220220

221221
return NULL;
@@ -234,7 +234,7 @@ server_check_detail(char *target, char *target_detail)
234234
if (target_detail == NULL)
235235
ereport(ERROR,
236236
(errcode(ERRCODE_SYNTAX_ERROR),
237-
errmsg("target '%s' requires a target detail",
237+
errmsg("target \"%s\" requires a target detail",
238238
target)));
239239

240240
return target_detail;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy