Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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

+2-2
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)