summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchriskl2003-12-16 01:34:10 +0000
committerchriskl2003-12-16 01:34:10 +0000
commitc23a2e00f4ee039128d5daca832ef0d429dcf96c (patch)
treecce7871b697dd2233c570381c26b4ff264acf425
parent837fb8cc91127384b91a16f45b766862436c93aa (diff)
brand 3.2.2 in case, fix alter column problem in 7.1REL_3-2
-rw-r--r--HISTORY6
-rw-r--r--classes/database/Postgres71.php4
-rw-r--r--libraries/lib.inc.php4
3 files changed, 10 insertions, 4 deletions
diff --git a/HISTORY b/HISTORY
index fc0949d2..42cc5abd 100644
--- 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
-------------
diff --git a/classes/database/Postgres71.php b/classes/database/Postgres71.php
index f61ec541..1e5d61ae 100644
--- a/classes/database/Postgres71.php
+++ b/classes/database/Postgres71.php
@@ -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,
diff --git a/libraries/lib.inc.php b/libraries/lib.inc.php
index 0ebb5aef..1445d948 100644
--- a/libraries/lib.inc.php
+++ b/libraries/lib.inc.php
@@ -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