Skip to content

Commit 23bcc8d

Browse files
committed
Message style improvements
1 parent 885826f commit 23bcc8d

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
@@ -907,7 +907,7 @@ parse_basebackup_options(List *options, basebackup_options *opt)
907907
if (target_detail_str != NULL)
908908
ereport(ERROR,
909909
(errcode(ERRCODE_SYNTAX_ERROR),
910-
errmsg("target '%s' does not accept a target detail",
910+
errmsg("target \"%s\" does not accept a target detail",
911911
target_str)));
912912
opt->send_to_client = true;
913913
}

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)