Backport: Fix listing of opaque functions in 7.2
authorchriskl <chriskl>
Mon, 1 Aug 2005 05:32:51 +0000 (05:32 +0000)
committerchriskl <chriskl>
Mon, 1 Aug 2005 05:32:51 +0000 (05:32 +0000)
HISTORY
classes/database/Postgres72.php

diff --git a/HISTORY b/HISTORY
index 4bbb75da54003db8ca3cab1063780921cc521861..a5cab29a76e12b1680e449db38af44c208d7fcd8 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -7,6 +7,7 @@ Version 3.5.5
 Bugs
 * Fix for PHP 4.4.0's new strict references
 * Small improvement to Opera browser detection in the tree
+* Fix listing of opaque functions in 7.2
 
 Version 3.5.4
 -------------
index 0402829958e5ef214205ece9437b8f7382ab1fad..7347ef2e781779b342c9e9cc36e50c4747e31ac8 100644 (file)
@@ -4,7 +4,7 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres72.php,v 1.78.2.1 2005/07/31 09:18:39 chriskl Exp $
+ * $Id: Postgres72.php,v 1.78.2.2 2005/08/01 05:32:51 chriskl Exp $
  */
 
 
@@ -328,8 +328,7 @@ class Postgres72 extends Postgres71 {
                        FROM
                                pg_proc p
                        WHERE
-                               p.prorettype <> 0
-                               AND (pronargs = 0 OR oidvectortypes(p.proargtypes) <> '')
+                               (pronargs = 0 OR oidvectortypes(p.proargtypes) <> '')
                                {$where}
                        ORDER BY
                                p.proname, proresult