Commit 45c8ed96 authored by Bruce Momjian's avatar Bruce Momjian

Make some sentences consistent with similar ones.

Euler Taveira de Oliveira
parent 9e23cd61
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.22 2006/07/30 02:07:18 alvherre Exp $ * $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.23 2006/10/03 21:21:35 momjian Exp $
* *
* NOTES * NOTES
* Each global transaction is associated with a global transaction * Each global transaction is associated with a global transaction
...@@ -1250,7 +1250,7 @@ RemoveTwoPhaseFile(TransactionId xid, bool giveWarning) ...@@ -1250,7 +1250,7 @@ RemoveTwoPhaseFile(TransactionId xid, bool giveWarning)
if (errno != ENOENT || giveWarning) if (errno != ENOENT || giveWarning)
ereport(WARNING, ereport(WARNING,
(errcode_for_file_access(), (errcode_for_file_access(),
errmsg("could not remove two-phase state file \"%s\": %m", errmsg("could not remove twophase state file \"%s\": %m",
path))); path)));
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/aggregatecmds.c,v 1.39 2006/09/25 15:17:34 tgl Exp $ * $PostgreSQL: pgsql/src/backend/commands/aggregatecmds.c,v 1.40 2006/10/03 21:21:36 momjian Exp $
* *
* DESCRIPTION * DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the * The "DefineFoo" routines take the parse tree and pick out the
...@@ -219,7 +219,7 @@ RemoveAggregate(RemoveFuncStmt *stmt) ...@@ -219,7 +219,7 @@ RemoveAggregate(RemoveFuncStmt *stmt)
{ {
/* we only get here if stmt->missing_ok is true */ /* we only get here if stmt->missing_ok is true */
ereport(NOTICE, ereport(NOTICE,
(errmsg("aggregate %s(%s) does not exist ... skipping", (errmsg("aggregate %s(%s) does not exist, skipping",
NameListToString(aggName), NameListToString(aggName),
TypeNameListToString(aggArgs)))); TypeNameListToString(aggArgs))));
return; return;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.77 2006/09/25 15:17:34 tgl Exp $ * $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.78 2006/10/03 21:21:36 momjian Exp $
* *
* DESCRIPTION * DESCRIPTION
* These routines take the parse tree and pick out the * These routines take the parse tree and pick out the
...@@ -690,7 +690,7 @@ RemoveFunction(RemoveFuncStmt *stmt) ...@@ -690,7 +690,7 @@ RemoveFunction(RemoveFuncStmt *stmt)
{ {
/* can only get here if stmt->missing_ok */ /* can only get here if stmt->missing_ok */
ereport(NOTICE, ereport(NOTICE,
(errmsg("function %s(%s) does not exist ... skipping", (errmsg("function %s(%s) does not exist, skipping",
NameListToString(functionName), NameListToString(functionName),
TypeNameListToString(argTypes)))); TypeNameListToString(argTypes))));
return; return;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/operatorcmds.c,v 1.31 2006/06/16 20:23:44 adunstan Exp $ * $PostgreSQL: pgsql/src/backend/commands/operatorcmds.c,v 1.32 2006/10/03 21:21:36 momjian Exp $
* *
* DESCRIPTION * DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the * The "DefineFoo" routines take the parse tree and pick out the
...@@ -218,7 +218,7 @@ RemoveOperator(RemoveFuncStmt *stmt) ...@@ -218,7 +218,7 @@ RemoveOperator(RemoveFuncStmt *stmt)
if (stmt->missing_ok &&!OidIsValid(operOid) ) if (stmt->missing_ok &&!OidIsValid(operOid) )
{ {
ereport(NOTICE, ereport(NOTICE,
(errmsg("operator %s does not exist ... skipping", (errmsg("operator %s does not exist, skipping",
NameListToString(operatorName)))); NameListToString(operatorName))));
return; return;
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/proclang.c,v 1.67 2006/07/14 14:52:18 momjian Exp $ * $PostgreSQL: pgsql/src/backend/commands/proclang.c,v 1.68 2006/10/03 21:21:36 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -401,7 +401,7 @@ DropProceduralLanguage(DropPLangStmt *stmt) ...@@ -401,7 +401,7 @@ DropProceduralLanguage(DropPLangStmt *stmt)
errmsg("language \"%s\" does not exist", languageName))); errmsg("language \"%s\" does not exist", languageName)));
else else
ereport(NOTICE, ereport(NOTICE,
(errmsg("language \"%s\" does not exist ... skipping", (errmsg("language \"%s\" does not exist, skipping",
languageName))); languageName)));
return; return;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/tablespace.c,v 1.37 2006/07/14 14:52:18 momjian Exp $ * $PostgreSQL: pgsql/src/backend/commands/tablespace.c,v 1.38 2006/10/03 21:21:36 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -412,7 +412,7 @@ DropTableSpace(DropTableSpaceStmt *stmt) ...@@ -412,7 +412,7 @@ DropTableSpace(DropTableSpaceStmt *stmt)
else else
{ {
ereport(NOTICE, ereport(NOTICE,
(errmsg("tablespace \"%s\" does not exist ... skipping", (errmsg("tablespace \"%s\" does not exist, skipping",
tablespacename))); tablespacename)));
/* XXX I assume I need one or both of these next two calls */ /* XXX I assume I need one or both of these next two calls */
heap_endscan(scandesc); heap_endscan(scandesc);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.207 2006/09/04 21:15:56 tgl Exp $ * $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.208 2006/10/03 21:21:36 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -487,7 +487,7 @@ DropTrigger(Oid relid, const char *trigname, DropBehavior behavior, ...@@ -487,7 +487,7 @@ DropTrigger(Oid relid, const char *trigname, DropBehavior behavior,
trigname, get_rel_name(relid)))); trigname, get_rel_name(relid))));
else else
ereport(NOTICE, ereport(NOTICE,
(errmsg("trigger \"%s\" for table \"%s\" does not exist ...skipping", (errmsg("trigger \"%s\" for table \"%s\" does not exist, skipping",
trigname, get_rel_name(relid)))); trigname, get_rel_name(relid))));
/* cleanup */ /* cleanup */
systable_endscan(tgscan); systable_endscan(tgscan);
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.142 2006/09/15 21:28:08 tgl Exp $ * $PostgreSQL: pgsql/src/backend/libpq/auth.c,v 1.143 2006/10/03 21:21:36 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -784,11 +784,11 @@ CheckLDAPAuth(Port *port) ...@@ -784,11 +784,11 @@ CheckLDAPAuth(Port *port)
{ {
#ifndef WIN32 #ifndef WIN32
ereport(LOG, ereport(LOG,
(errmsg("could not initialize LDAP: error %d", (errmsg("could not initialize LDAP: error code %d",
errno))); errno)));
#else #else
ereport(LOG, ereport(LOG,
(errmsg("could not initialize LDAP: error %d", (errmsg("could not initialize LDAP: error code %d",
(int) LdapGetLastError()))); (int) LdapGetLastError())));
#endif #endif
return STATUS_ERROR; return STATUS_ERROR;
...@@ -797,7 +797,7 @@ CheckLDAPAuth(Port *port) ...@@ -797,7 +797,7 @@ CheckLDAPAuth(Port *port)
if ((r = ldap_set_option(ldap, LDAP_OPT_PROTOCOL_VERSION, &ldapversion)) != LDAP_SUCCESS) if ((r = ldap_set_option(ldap, LDAP_OPT_PROTOCOL_VERSION, &ldapversion)) != LDAP_SUCCESS)
{ {
ereport(LOG, ereport(LOG,
(errmsg("could not set LDAP protocol version: error %d", r))); (errmsg("could not set LDAP protocol version: error code %d", r)));
return STATUS_ERROR; return STATUS_ERROR;
} }
...@@ -843,7 +843,7 @@ CheckLDAPAuth(Port *port) ...@@ -843,7 +843,7 @@ CheckLDAPAuth(Port *port)
#endif #endif
{ {
ereport(LOG, ereport(LOG,
(errmsg("could not start LDAP TLS session: error %d", r))); (errmsg("could not start LDAP TLS session: error code %d", r)));
return STATUS_ERROR; return STATUS_ERROR;
} }
} }
...@@ -858,7 +858,7 @@ CheckLDAPAuth(Port *port) ...@@ -858,7 +858,7 @@ CheckLDAPAuth(Port *port)
if (r != LDAP_SUCCESS) if (r != LDAP_SUCCESS)
{ {
ereport(LOG, ereport(LOG,
(errmsg("LDAP login failed for user \"%s\" on server \"%s\": error %d", (errmsg("LDAP login failed for user \"%s\" on server \"%s\": error code %d",
fulluser, server, r))); fulluser, server, r)));
return STATUS_ERROR; return STATUS_ERROR;
} }
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteRemove.c,v 1.66 2006/09/05 21:08:36 tgl Exp $ * $PostgreSQL: pgsql/src/backend/rewrite/rewriteRemove.c,v 1.67 2006/10/03 21:21:36 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -61,7 +61,7 @@ RemoveRewriteRule(Oid owningRel, const char *ruleName, DropBehavior behavior, ...@@ -61,7 +61,7 @@ RemoveRewriteRule(Oid owningRel, const char *ruleName, DropBehavior behavior,
ruleName, get_rel_name(owningRel)))); ruleName, get_rel_name(owningRel))));
else else
ereport(NOTICE, ereport(NOTICE,
(errmsg("rule \"%s\" for relation \"%s\" does not exist ... skipping", (errmsg("rule \"%s\" for relation \"%s\" does not exist, skipping",
ruleName, get_rel_name(owningRel)))); ruleName, get_rel_name(owningRel))));
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment