summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-01-07 22:23:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-01-07 22:23:17 +0000
commit9f1f2bfb661615f75ddfe8312a9a005d9cf7af75 (patch)
tree00a86bc1de9c0be161f56f450e27d548736393f1 /src/interfaces
parent3e40ff58c5ab7c7a8b1d5ab735824cee6cc51de9 (diff)
Fix various places where global s/NOTICE/WARNING/ was applied with too
much enthusiasm.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/libpq/fe-exec.c8
-rw-r--r--src/interfaces/libpq/fe-misc.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c
index cd48ee38a1c..858c4339c46 100644
--- a/src/interfaces/libpq/fe-exec.c
+++ b/src/interfaces/libpq/fe-exec.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.123 2002/11/10 00:14:22 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.124 2003/01/07 22:23:17 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -813,7 +813,7 @@ PQsendQuery(PGconn *conn, const char *query)
* handleSendFailure: try to clean up after failure to send command.
*
* Primarily, what we want to accomplish here is to process an async
- * WARNING message that the backend might have sent just before it died.
+ * NOTICE message that the backend might have sent just before it died.
*
* NOTE: this routine should only be called in PGASYNC_IDLE state.
*/
@@ -831,7 +831,7 @@ handleSendFailure(PGconn *conn)
/*
* Parse any available input messages. Since we are in PGASYNC_IDLE
- * state, only WARNING and NOTIFY messages will be eaten.
+ * state, only NOTICE and NOTIFY messages will be eaten.
*/
parseInput(conn);
}
@@ -905,7 +905,7 @@ parseInput(PGconn *conn)
return;
/*
- * NOTIFY and WARNING messages can happen in any state besides
+ * NOTIFY and NOTICE messages can happen in any state besides
* COPY OUT; always process them right away.
*
* Most other messages should only be processed while in BUSY state.
diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c
index f94f46dd59b..2ae1c2630b6 100644
--- a/src/interfaces/libpq/fe-misc.c
+++ b/src/interfaces/libpq/fe-misc.c
@@ -25,7 +25,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.85 2002/10/24 23:35:55 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.86 2003/01/07 22:23:17 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -690,7 +690,7 @@ pqSendSome(PGconn *conn)
/*
* We used to close the socket here, but that's a bad
* idea since there might be unread data waiting
- * (typically, a WARNING message from the backend
+ * (typically, a NOTICE message from the backend
* telling us it's committing hara-kiri...). Leave
* the socket open until pqReadData finds no more data
* can be read.