Index: parse.c =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/parse.c,v retrieving revision 1.42 diff -u -r1.42 parse.c --- parse.c 23 Apr 2003 09:49:47 -0000 1.42 +++ parse.c 2 Jul 2003 13:37:44 -0000 @@ -927,7 +927,7 @@ * 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) {