10
10
*
11
11
*
12
12
* 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 $
14
14
*
15
15
*-------------------------------------------------------------------------
16
16
*/
@@ -737,7 +737,7 @@ parse_hba(List *line, int line_num, hbaPort *port,
737
737
{
738
738
ereport (LOG ,
739
739
(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" ,
741
741
token ,HbaFileName ,line_num ,
742
742
gai_strerror (ret ))));
743
743
if (cidr_slash )
@@ -772,7 +772,7 @@ parse_hba(List *line, int line_num, hbaPort *port,
772
772
{
773
773
ereport (LOG ,
774
774
(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" ,
776
776
token ,HbaFileName ,line_num ,
777
777
gai_strerror (ret ))));
778
778
if (gai_result )
@@ -787,7 +787,7 @@ parse_hba(List *line, int line_num, hbaPort *port,
787
787
{
788
788
ereport (LOG ,
789
789
(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" ,
791
791
HbaFileName ,line_num )));
792
792
gotohba_other_error ;
793
793
}
@@ -845,13 +845,13 @@ parse_hba(List *line, int line_num, hbaPort *port,
845
845
if (line_item )
846
846
ereport (LOG ,
847
847
(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\"" ,
849
849
HbaFileName ,line_num ,
850
850
(char * )lfirst (line_item ))));
851
851
else
852
852
ereport (LOG ,
853
853
(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" ,
855
855
HbaFileName ,line_num )));
856
856
857
857
/* Come here if suitable message already logged */
@@ -1101,13 +1101,13 @@ parse_ident_usermap(List *line, int line_number, const char *usermap_name,
1101
1101
if (line_item )
1102
1102
ereport (LOG ,
1103
1103
(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\"" ,
1105
1105
IdentFileName ,line_number ,
1106
1106
(const char * )lfirst (line_item ))));
1107
1107
else
1108
1108
ereport (LOG ,
1109
1109
(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" ,
1111
1111
IdentFileName ,line_number )));
1112
1112
1113
1113
* error_p = true;
@@ -1634,7 +1634,7 @@ authident(hbaPort *port)
1634
1634
}
1635
1635
1636
1636
ereport (DEBUG1 ,
1637
- (errmsg ("IDENT code identifies remote user as \"%s\"" ,
1637
+ (errmsg ("Ident protocol identifies remote user as \"%s\"" ,
1638
1638
ident_user )));
1639
1639
1640
1640
if (check_ident_usermap (port -> auth_arg ,port -> user_name ,ident_user ))