brand 3.2.2 in case, fix alter column problem in 7.1 REL_3-2
authorchriskl <chriskl>
Tue, 16 Dec 2003 01:34:10 +0000 (01:34 +0000)
committerchriskl <chriskl>
Tue, 16 Dec 2003 01:34:10 +0000 (01:34 +0000)
HISTORY
classes/database/Postgres71.php
libraries/lib.inc.php

diff --git a/HISTORY b/HISTORY
index fc0949d202a16c1345589cbd1d735b38ea925527..42cc5abdd3803e7e4f5332e2d9f14e9c9147d9a9 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,12 @@
 phpPgAdmin History
 ------------------
 
+Version 3.2.2
+-------------
+
+Bugs
+* Alter column on Postgres 7.1 was broken
+
 Version 3.2.1
 -------------
 
index f61ec5414a415a366d61f91180a626244a714f06..1e5d61ae003a52b31586387cd3f17b6ef3e577f5 100644 (file)
@@ -4,7 +4,7 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres71.php,v 1.46 2003/11/05 15:06:24 chriskl Exp $
+ * $Id: Postgres71.php,v 1.46.2.1 2003/12/16 01:34:10 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
@@ -147,7 +147,7 @@ class Postgres71 extends Postgres {
                else {
                        $sql = "SELECT
                                        a.attname, t.typname as type, a.attlen, a.atttypmod, a.attnotnull, 
-                                       a.atthasdef, adef.adsrc, a.attstattarget, a.attstorage, t.typstorage
+                                       a.atthasdef, adef.adsrc, -1 AS attstattarget, a.attstorage, t.typstorage
                                FROM
                                        pg_attribute a LEFT JOIN pg_attrdef adef
                                        ON a.attrelid=adef.adrelid AND a.attnum=adef.adnum,
index 0ebb5aefbd589a9506b884c5e19a06075d6c4d94..1445d9487a98fc3689d5515fdfd97c59f34e941a 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Function library read in upon startup
         *
-        * $Id: lib.inc.php,v 1.68.2.1 2003/12/03 02:36:03 chriskl Exp $
+        * $Id: lib.inc.php,v 1.68.2.2 2003/12/16 01:34:11 chriskl Exp $
         */
        
        // Set error reporting level to max
@@ -13,7 +13,7 @@
        $appName = 'phpPgAdmin';
 
        // Application version
-       $appVersion = '3.2.1';
+       $appVersion = '3.2.2';
 
 
        // Check to see if the configuration file exists, if not, explain