Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e527d50

Browse files
committed
Remove prefix "ERROR:" from some messages, to make everything consistent
1 parent 0c61cff commit e527d50

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.378 2009/11/28 23:38:08 tgl Exp $
11+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.379 2009/11/29 18:53:44 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -3100,7 +3100,7 @@ parseServiceInfo(PQconninfoOption *options, PQExpBuffer errorMessage)
31003100
f = fopen(serviceFile, "r");
31013101
if (f == NULL)
31023102
{
3103-
printfPQExpBuffer(errorMessage, libpq_gettext("ERROR: service file \"%s\" not found\n"),
3103+
printfPQExpBuffer(errorMessage, libpq_gettext("service file \"%s\" not found\n"),
31043104
serviceFile);
31053105
return 1;
31063106
}
@@ -3113,7 +3113,7 @@ parseServiceInfo(PQconninfoOption *options, PQExpBuffer errorMessage)
31133113
{
31143114
fclose(f);
31153115
printfPQExpBuffer(errorMessage,
3116-
libpq_gettext("ERROR: line %d too long in service file \"%s\"\n"),
3116+
libpq_gettext("line %d too long in service file \"%s\"\n"),
31173117
linenr,
31183118
serviceFile);
31193119
return 2;
@@ -3185,7 +3185,7 @@ parseServiceInfo(PQconninfoOption *options, PQExpBuffer errorMessage)
31853185
if (val == NULL)
31863186
{
31873187
printfPQExpBuffer(errorMessage,
3188-
libpq_gettext("ERROR: syntax error in service file \"%s\", line %d\n"),
3188+
libpq_gettext("syntax error in service file \"%s\", line %d\n"),
31893189
serviceFile,
31903190
linenr);
31913191
fclose(f);
@@ -3212,7 +3212,7 @@ parseServiceInfo(PQconninfoOption *options, PQExpBuffer errorMessage)
32123212
if (!found_keyword)
32133213
{
32143214
printfPQExpBuffer(errorMessage,
3215-
libpq_gettext("ERROR: syntax error in service file \"%s\", line %d\n"),
3215+
libpq_gettext("syntax error in service file \"%s\", line %d\n"),
32163216
serviceFile,
32173217
linenr);
32183218
fclose(f);

0 commit comments

Comments
 (0)