Commit 9381cb52 authored by Alvaro Herrera's avatar Alvaro Herrera

Make error wording more consistent

parent b03d196b
...@@ -908,7 +908,8 @@ PostmasterMain(int argc, char *argv[]) ...@@ -908,7 +908,8 @@ PostmasterMain(int argc, char *argv[])
/* syntax error in list */ /* syntax error in list */
ereport(FATAL, ereport(FATAL,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("invalid list syntax for \"listen_addresses\""))); errmsg("invalid list syntax in parameter \"%s\"",
"listen_addresses")));
} }
foreach(l, elemlist) foreach(l, elemlist)
...@@ -1005,7 +1006,8 @@ PostmasterMain(int argc, char *argv[]) ...@@ -1005,7 +1006,8 @@ PostmasterMain(int argc, char *argv[])
/* syntax error in list */ /* syntax error in list */
ereport(FATAL, ereport(FATAL,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE), (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("invalid list syntax for \"unix_socket_directories\""))); errmsg("invalid list syntax in parameter \"%s\"",
"unix_socket_directories")));
} }
foreach(l, elemlist) foreach(l, elemlist)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment