diff options
author | soranzo | 2005-08-12 16:55:27 +0000 |
---|---|---|
committer | soranzo | 2005-08-12 16:55:27 +0000 |
commit | e48dbfe38f45cca93e789b34b4e9052262e08b72 (patch) | |
tree | c725c28ff493ce610045caa70d785b5f61f83736 | |
parent | 089365fe0526331a8a079ec8270ba1684d57fafe (diff) |
Fix missing programming language in fetFunctions()REL_3-5-5
-rw-r--r-- | classes/database/Postgres72.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/database/Postgres72.php b/classes/database/Postgres72.php index 5287987b..c4164c29 100644 --- a/classes/database/Postgres72.php +++ b/classes/database/Postgres72.php @@ -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.3 2005/08/10 05:54:35 chriskl Exp $ + * $Id: Postgres72.php,v 1.78.2.4 2005/08/12 16:55:27 soranzo Exp $ */ @@ -324,10 +324,12 @@ class Postgres72 extends Postgres71 { false AS proretset, format_type(p.prorettype, NULL) AS proresult, oidvectortypes(p.proargtypes) AS proarguments, + pl.lanname AS prolanguage, (SELECT description FROM pg_description pd WHERE p.oid=pd.objoid) AS procomment FROM - pg_proc p + pg_proc p, pg_language pl WHERE + p.prolang = pl.oid AND (pronargs = 0 OR oidvectortypes(p.proargtypes) <> '') {$where} ORDER BY |