aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2000-10-04 12:39:45 +0000
committerMichael Meskes <meskes@postgresql.org>2000-10-04 12:39:45 +0000
commit2d5ff2f9a04f8086097abe7aa7a439ec09070171 (patch)
treeb296aa567680a935d7d48525531f584709961a7c
parent136a4aebb6502ed06e3723adf23072911c975710 (diff)
downloadpostgresql-2d5ff2f9a04f8086097abe7aa7a439ec09070171.tar.gz
postgresql-2d5ff2f9a04f8086097abe7aa7a439ec09070171.zip
Added patch by Cristof for catching yet another NOTICE.
-rw-r--r--src/interfaces/ecpg/ChangeLog15
-rw-r--r--src/interfaces/ecpg/lib/connect.c3
2 files changed, 12 insertions, 6 deletions
diff --git a/src/interfaces/ecpg/ChangeLog b/src/interfaces/ecpg/ChangeLog
index 2a232f70153..5f506548d04 100644
--- a/src/interfaces/ecpg/ChangeLog
+++ b/src/interfaces/ecpg/ChangeLog
@@ -925,31 +925,36 @@ Wed May 17 07:52:59 CEST 2000
handling.
- Set library version to 3.1.1.
-Mon Sep 4 14:10:38 PDT 2000
+Mon Sep 4 14:10:38 CEST 2000
- Synced preproc.y with gram.y.
- Synced keyword.c.
-Mon Sep 18 13:55:11 PDT 2000
+Mon Sep 18 13:55:11 CEST 2000
- Added int8 support based on a patch by Martijn Schoemaker <martijn@osp.nl>
-Wed Sep 20 12:40:27 PDT 2000
+Wed Sep 20 12:40:27 CEST 2000
- Added patch by Christof Petig <christof.petig@wtal.de> to process
backend NOTICEs.
- Added patch by Christof Petig <christof.petig@wtal.de> to cache
type information.
-Thu Sep 21 13:54:13 PDT 2000
+Thu Sep 21 13:54:13 CEST 2000
- Enabled parser to accept ip addresses instead of host names.
-Tue Sep 26 13:00:16 PDT 2000
+Tue Sep 26 13:00:16 CEST 2000
- Synced preproc.y with gram.y.
- Synced keyword.c.
- Added patch by Christof Petig <christof.petig@wtal.de> to fix NOT
FOUND problem on update/insert/delete.
+
+Wed Oct 4 14:36:51 CEST 2000
+
+ - Added patch by Christof Petig <christof.petig@wtal.de> to fix
+ missing NOTICE.
- Set ecpg version to 2.8.0.
- Set library version to 3.2.0.
diff --git a/src/interfaces/ecpg/lib/connect.c b/src/interfaces/ecpg/lib/connect.c
index aa14174ad40..dec6b9a85ed 100644
--- a/src/interfaces/ecpg/lib/connect.c
+++ b/src/interfaces/ecpg/lib/connect.c
@@ -158,7 +158,8 @@ ECPGnoticeProcessor(void *arg, const char *message)
}
/* NOTICE: PerformPortalClose: portal "*" not found */
- if (!strncmp(message,"PerformPortalClose: portal",26)
+ if ((!strncmp(message,"PerformPortalClose: portal",26)
+ || !strncmp(message,"PerformPortalFetch: portal",26))
&& strstr(message+26,"not found"))
{
ECPGnoticeProcessor_raise(ECPG_NOTICE_UNKNOWN_PORTAL, message);