1010 *
1111 *
1212 * IDENTIFICATION
13- * $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.132 2004/10/09 23:12:57 tgl Exp $
13+ * $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.133 2004/10/12 21:54:38 petere Exp $
1414 *
1515 *-------------------------------------------------------------------------
1616 */
@@ -737,7 +737,7 @@ parse_hba(List *line, int line_num, hbaPort *port,
737737{
738738ereport (LOG ,
739739(errcode (ERRCODE_CONFIG_FILE_ERROR ),
740- errmsg ("invalid IP address \"%s\" in \"%s\" line %d: %s" ,
740+ errmsg ("invalid IP address \"%s\" infile \"%s\" line %d: %s" ,
741741token ,HbaFileName ,line_num ,
742742gai_strerror (ret ))));
743743if (cidr_slash )
@@ -772,7 +772,7 @@ parse_hba(List *line, int line_num, hbaPort *port,
772772{
773773ereport (LOG ,
774774(errcode (ERRCODE_CONFIG_FILE_ERROR ),
775- errmsg ("invalid IP mask \"%s\" in \"%s\" line %d: %s" ,
775+ errmsg ("invalid IP mask \"%s\" infile \"%s\" line %d: %s" ,
776776token ,HbaFileName ,line_num ,
777777gai_strerror (ret ))));
778778if (gai_result )
@@ -787,7 +787,7 @@ parse_hba(List *line, int line_num, hbaPort *port,
787787{
788788ereport (LOG ,
789789(errcode (ERRCODE_CONFIG_FILE_ERROR ),
790- errmsg ("IP address and mask do not match in \"%s\" line %d" ,
790+ errmsg ("IP address and mask do not match infile \"%s\" line %d" ,
791791HbaFileName ,line_num )));
792792gotohba_other_error ;
793793}
@@ -845,13 +845,13 @@ parse_hba(List *line, int line_num, hbaPort *port,
845845if (line_item )
846846ereport (LOG ,
847847(errcode (ERRCODE_CONFIG_FILE_ERROR ),
848- errmsg ("invalid entry in \"%s\" at line %d, token \"%s\"" ,
848+ errmsg ("invalid entry infile \"%s\" at line %d, token \"%s\"" ,
849849HbaFileName ,line_num ,
850850(char * )lfirst (line_item ))));
851851else
852852ereport (LOG ,
853853(errcode (ERRCODE_CONFIG_FILE_ERROR ),
854- errmsg ("missing field in \"%s\" at end of line %d" ,
854+ errmsg ("missing field infile \"%s\" at end of line %d" ,
855855HbaFileName ,line_num )));
856856
857857/* Come here if suitable message already logged */
@@ -1101,13 +1101,13 @@ parse_ident_usermap(List *line, int line_number, const char *usermap_name,
11011101if (line_item )
11021102ereport (LOG ,
11031103(errcode (ERRCODE_CONFIG_FILE_ERROR ),
1104- errmsg ("invalid entry in \"%s\" at line %d, token \"%s\"" ,
1104+ errmsg ("invalid entry infile \"%s\" at line %d, token \"%s\"" ,
11051105IdentFileName ,line_number ,
11061106(const char * )lfirst (line_item ))));
11071107else
11081108ereport (LOG ,
11091109(errcode (ERRCODE_CONFIG_FILE_ERROR ),
1110- errmsg ("missing entry in \"%s\" at end of line %d" ,
1110+ errmsg ("missing entry infile \"%s\" at end of line %d" ,
11111111IdentFileName ,line_number )));
11121112
11131113* error_p = true;
@@ -1634,7 +1634,7 @@ authident(hbaPort *port)
16341634}
16351635
16361636ereport (DEBUG1 ,
1637- (errmsg ("IDENT code identifies remote user as \"%s\"" ,
1637+ (errmsg ("Ident protocol identifies remote user as \"%s\"" ,
16381638ident_user )));
16391639
16401640if (check_ident_usermap (port -> auth_arg ,port -> user_name ,ident_user ))