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;
}
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;
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;