OSDN Git Service

fixed missing apostrophe
authorDave Cramer <davec@fastcrypt.com>
Tue, 8 Oct 2002 01:47:55 +0000 (01:47 +0000)
committerDave Cramer <davec@fastcrypt.com>
Tue, 8 Oct 2002 01:47:55 +0000 (01:47 +0000)
src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java

index 8e5638f..0a0aee9 100644 (file)
@@ -2092,11 +2092,11 @@ public abstract class AbstractJdbc1DatabaseMetaData
                ht = new Hashtable();
                tableTypeClauses.put("SYSTEM TABLE",ht);
                ht.put("SCHEMAS","c.relkind = 'r' AND n.nspname = 'pg_catalog'");
-               ht.put("NOSCHEMAS","c.relkind = r' AND c.relname LIKE 'pg\\\\_%' AND c.relname NOT LIKE 'pg\\\\_toast\\\\_%' AND c.relname NOT LIKE 'pg\\\\_temp\\\\_%'");
+               ht.put("NOSCHEMAS","c.relkind = 'r' AND c.relname LIKE 'pg\\\\_%' AND c.relname NOT LIKE 'pg\\\\_toast\\\\_%' AND c.relname NOT LIKE 'pg\\\\_temp\\\\_%'");
                ht = new Hashtable();
                tableTypeClauses.put("SYSTEM TOAST TABLE",ht);
                ht.put("SCHEMAS","c.relkind = 'r' AND n.nspname = 'pg_toast'");
-               ht.put("NOSCHEMAS","c.relkind = r' AND c.relname LIKE 'pg\\\\_toast\\\\_%'");
+               ht.put("NOSCHEMAS","c.relkind = 'r' AND c.relname LIKE 'pg\\\\_toast\\\\_%'");
                ht = new Hashtable();
                tableTypeClauses.put("SYSTEM TOAST INDEX",ht);
                ht.put("SCHEMAS","c.relkind = 'i' AND n.nspname = 'pg_toast'");