ereport(ERROR,
(errcode(ERRCODE_AMBIGUOUS_COLUMN),
- /*
- * translator: first %s is name of a SQL
- * construct, eg ORDER BY
- */
+ /*------
+ translator: first %s is name of a SQL construct, eg ORDER BY */
errmsg("%s \"%s\" is ambiguous",
clauseText[clause], name),
parser_errposition(pstate, location)));
ereport(ERROR,
(errcode(ERRCODE_DATATYPE_MISMATCH),
- /*
- * translator: first %s is name of a SQL construct, eg CASE
- */
+ /*------
+ translator: first %s is name of a SQL construct, eg CASE */
errmsg("%s types %s and %s cannot be matched",
context,
format_type_be(ptype),
if (WIFEXITED(exitstatus))
ereport(lev,
- /*
- * translator: %s is a noun phrase describing a child process, such as
- * "server process"
- */
+ /*------
+ translator: %s is a noun phrase describing a child process, such as
+ "server process" */
(errmsg("%s (PID %d) exited with exit code %d",
procname, pid, WEXITSTATUS(exitstatus))));
else if (WIFSIGNALED(exitstatus))
ereport(lev,
- /*
- * translator: %s is a noun phrase describing a child process, such as
- * "server process"
- */
+ /*------
+ translator: %s is a noun phrase describing a child process, such as
+ "server process" */
(errmsg("%s (PID %d) was terminated by signal %d",
procname, pid, WTERMSIG(exitstatus))));
else
ereport(lev,
- /*
- * translator: %s is a noun phrase describing a child process, such as
- * "server process"
- */
+ /*------
+ translator: %s is a noun phrase describing a child process, such as
+ "server process" */
(errmsg("%s (PID %d) exited with unexpected status %d",
procname, pid, exitstatus)));
}
*/
if (str == NULL || *str == '\0')
{
- /*
- * translator: This string will be truncated at 47 characters
- * expanded.
- */
snprintf(errorstr_buf, sizeof(errorstr_buf),
+ /*------
+ translator: This string will be truncated at 47
+ characters expanded. */
_("operating system error %d"), errnum);
str = errorstr_buf;
}