mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Improve a couple of error messages per suggestions from Alvaro Herrera.
This commit is contained in:
@ -11,7 +11,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.432 2003/09/09 23:22:20 petere Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.433 2003/09/15 22:28:57 tgl Exp $
|
||||||
*
|
*
|
||||||
* HISTORY
|
* HISTORY
|
||||||
* AUTHOR DATE MAJOR EVENT
|
* AUTHOR DATE MAJOR EVENT
|
||||||
@ -3244,7 +3244,8 @@ oper_argtypes:
|
|||||||
{
|
{
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_SYNTAX_ERROR),
|
(errcode(ERRCODE_SYNTAX_ERROR),
|
||||||
errmsg("argument type missing (use NONE for unary operators)")));
|
errmsg("missing argument"),
|
||||||
|
errhint("Use NONE to denote the missing argument of a unary operator.")));
|
||||||
}
|
}
|
||||||
| Typename ',' Typename
|
| Typename ',' Typename
|
||||||
{ $$ = makeList2($1, $3); }
|
{ $$ = makeList2($1, $3); }
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.157 2003/09/11 18:30:39 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.158 2003/09/15 22:28:58 tgl Exp $
|
||||||
*
|
*
|
||||||
*--------------------------------------------------------------------
|
*--------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1540,7 +1540,7 @@ static struct config_string ConfigureNamesString[] =
|
|||||||
|
|
||||||
{
|
{
|
||||||
{"unix_socket_group", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
|
{"unix_socket_group", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
|
||||||
gettext_noop("The group owner of the Unix domain socket"),
|
gettext_noop("The owning group of the Unix-domain socket"),
|
||||||
gettext_noop("(The owning user of the socket is always the user "
|
gettext_noop("(The owning user of the socket is always the user "
|
||||||
"that starts the server.)")
|
"that starts the server.)")
|
||||||
},
|
},
|
||||||
@ -1550,7 +1550,7 @@ static struct config_string ConfigureNamesString[] =
|
|||||||
|
|
||||||
{
|
{
|
||||||
{"unix_socket_directory", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
|
{"unix_socket_directory", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
|
||||||
gettext_noop("The Unix-domain socket directory to listen to"),
|
gettext_noop("Directory where the Unix-domain socket will be created"),
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
&UnixSocketDir,
|
&UnixSocketDir,
|
||||||
|
Reference in New Issue
Block a user