Add quotes around table names to use ::regclass in parse.c .
authorHiroshi Inoue <inoue@tpf.co.jp>
Wed, 9 Jul 2003 08:09:11 +0000 (08:09 +0000)
committerHiroshi Inoue <inoue@tpf.co.jp>
Wed, 9 Jul 2003 08:09:11 +0000 (08:09 +0000)
parse.c
version.h

diff --git a/parse.c b/parse.c
index f3cfdcd31f5112d6718273e4ac4bcd8b62f719b4..aad02e10f12039d7526130a503155a7426bf3e93 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -927,7 +927,7 @@ parse_statement(StatementClass *stmt)
                     * We also have to check as follows.
                     */
                    sprintf(token, "select nspname from pg_namespace n, pg_class c"
-                       " where c.relnamespace=n.oid and c.oid='%s'::regclass", ti[i]->name);
+                       " where c.relnamespace=n.oid and c.oid='\"%s\"'::regclass", ti[i]->name);
                    res = CC_send_query(conn, token, NULL, CLEAR_RESULT_ON_ABORT);
                    if (res)
                    {
index 81ff3388d84c973836b558d2828978ba322bec4d..a176c4204f6f2628071dcdc8cffa1f304399649b 100644 (file)
--- a/version.h
+++ b/version.h
@@ -9,8 +9,8 @@
 #ifndef __VERSION_H__
 #define __VERSION_H__
 
-#define POSTGRESDRIVERVERSION      "07.03.0108"
-#define POSTGRES_RESOURCE_VERSION  "07.03.0108\0"
-#define PG_DRVFILE_VERSION     7,3,1,08
+#define POSTGRESDRIVERVERSION      "07.03.0109"
+#define POSTGRES_RESOURCE_VERSION  "07.03.0109\0"
+#define PG_DRVFILE_VERSION     7,3,1,09
 
 #endif