From: ivan Date: Tue, 22 Aug 2006 12:26:14 +0000 (+0000) Subject: quick pg 8.1 patch to 1.5.8 upgrade instructions from Damon Vincent X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=c81c417edc139f18e239d15f80afa9399cbf4c8d;p=freeside.git quick pg 8.1 patch to 1.5.8 upgrade instructions from Damon Vincent --- diff --git a/httemplate/docs/upgrade10.html b/httemplate/docs/upgrade10.html index 8d90ab7a2..bfb8d07a9 100644 --- a/httemplate/docs/upgrade10.html +++ b/httemplate/docs/upgrade10.html @@ -42,12 +42,17 @@ INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 21, 'svc_external-t DROP INDEX cust_bill_pkg1; -
  • On recent Pg versions: +
  • On Pg 8.1 and newer: +
    +ALTER TABLE cust_main ALTER COLUMN payinfo TYPE varchar(512) NULL;
    +ALTER TABLE h_cust_main ALTER COLUMN payinfo TYPE varchar(512) NULL;
    +
    +
  • On Pg 7.4-8.0 (7.3-8.0?):
     ALTER TABLE cust_main ALTER COLUMN payinfo varchar(512) NULL;
     ALTER TABLE h_cust_main ALTER COLUMN payinfo varchar(512) NULL;
     
    -On older Pg versions that don't support altering columns directly, you will need to dump the database, edit the schema definitions in the dump file, and reload. +Pg versions 7.3 (7.2?) and older don't support altering columns directly. you will need to dump the database, edit the schema definitions in the dump file, and reload.
  • On recent Pg versions: