mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Message style improvements
This commit is contained in:
parent
885826f95d
commit
23bcc8d877
@ -907,7 +907,7 @@ parse_basebackup_options(List *options, basebackup_options *opt)
|
||||
if (target_detail_str != NULL)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||
errmsg("target '%s' does not accept a target detail",
|
||||
errmsg("target \"%s\" does not accept a target detail",
|
||||
target_str)));
|
||||
opt->send_to_client = true;
|
||||
}
|
||||
|
@ -215,7 +215,7 @@ reject_target_detail(char *target, char *target_detail)
|
||||
if (target_detail != NULL)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||
errmsg("target '%s' does not accept a target detail",
|
||||
errmsg("target \"%s\" does not accept a target detail",
|
||||
target)));
|
||||
|
||||
return NULL;
|
||||
@ -234,7 +234,7 @@ server_check_detail(char *target, char *target_detail)
|
||||
if (target_detail == NULL)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||
errmsg("target '%s' requires a target detail",
|
||||
errmsg("target \"%s\" requires a target detail",
|
||||
target)));
|
||||
|
||||
return target_detail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user