|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * IDENTIFICATION
|
11 |
| - * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.107 2003/07/26 15:22:22 momjian Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.108 2003/07/28 06:27:06 tgl Exp $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
@@ -442,8 +442,9 @@ ClientAuthentication(Port *port)
|
442 | 442 | #ifdefUSE_SSL
|
443 | 443 | ereport(FATAL,
|
444 | 444 | (errcode(ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION),
|
445 |
| -errmsg("no pg_hba.conf entry for host \"%s\", user \"%s\", database \"%s\", SSL \"%s\"", |
446 |
| -hostinfo,port->user_name,port->database_name,port->ssl ?"on" :"off"))); |
| 445 | +errmsg("no pg_hba.conf entry for host \"%s\", user \"%s\", database \"%s\", %s", |
| 446 | +hostinfo,port->user_name,port->database_name, |
| 447 | +port->ssl ?gettext("SSL on") :gettext("SSL off")))); |
447 | 448 | #else
|
448 | 449 | ereport(FATAL,
|
449 | 450 | (errcode(ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION),
|
|