Fix bug that cstring functions weren't being displayed.
authorchriskl <chriskl>
Tue, 28 Jun 2005 15:26:30 +0000 (15:26 +0000)
committerchriskl <chriskl>
Tue, 28 Jun 2005 15:26:30 +0000 (15:26 +0000)
classes/database/Postgres73.php

index 506d719db18b0b8e72a8993f46f27d09c2bb4be1..026cdea03b5818aa4b56cb81f721a46dfaa421a9 100644 (file)
@@ -4,7 +4,7 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres73.php,v 1.145 2005/06/22 14:21:08 chriskl Exp $
+ * $Id: Postgres73.php,v 1.146 2005/06/28 15:26:30 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
@@ -746,9 +746,7 @@ class Postgres73 extends Postgres72 {
                        FROM pg_catalog.pg_proc p
                                INNER JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace
                                INNER JOIN pg_catalog.pg_language pl ON pl.oid = p.prolang
-                       WHERE p.prorettype <> 'pg_catalog.cstring'::pg_catalog.regtype
-                               AND p.proargtypes[0] <> 'pg_catalog.cstring'::pg_catalog.regtype
-                               AND NOT p.proisagg
+                       WHERE NOT p.proisagg
                                AND {$where}
                        ORDER BY p.proname, proresult
                        ";