fix tiny sql syntax error
authorchriskl <chriskl>
Fri, 13 Feb 2004 12:42:12 +0000 (12:42 +0000)
committerchriskl <chriskl>
Fri, 13 Feb 2004 12:42:12 +0000 (12:42 +0000)
classes/database/Postgres.php

index f405cdf8010be7401bcf9f28b57cf9db34f75872..f787215d33d723e92c88b602244395c26703c31b 100755 (executable)
@@ -4,7 +4,7 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres.php,v 1.181 2004/02/06 01:48:16 chriskl Exp $
+ * $Id: Postgres.php,v 1.182 2004/02/13 12:42:12 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
@@ -2192,7 +2192,7 @@ class Postgres extends BaseDB {
                        // Op Classes
                        $sql .= "                               
                                UNION ALL
-                               SELECT DISTINCT ON (po.opcname) 'OPCLASS', po.oid, NULL, NULL, po.opcname FROM pg_opclass po,
+                               SELECT DISTINCT ON (po.opcname) 'OPCLASS', po.oid, NULL, NULL, po.opcname FROM pg_opclass po
                                        WHERE po.opcname ILIKE '%{$term}%'";
                        if (!$conf['show_system']) $sql .= " AND po.oid > '{$this->_lastSystemOID}'::oid";
                }