From ca4988d84148e7d17cffdd84bb6867cbcf271531 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 24 Dec 2002 22:41:21 +0000 Subject: optimization for ginourmous numbers of packages for intergate, whew --- httemplate/docs/upgrade9.html | 5 +++++ httemplate/view/cust_main.cgi | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'httemplate') diff --git a/httemplate/docs/upgrade9.html b/httemplate/docs/upgrade9.html index da5b643fb..c6afe2b0f 100644 --- a/httemplate/docs/upgrade9.html +++ b/httemplate/docs/upgrade9.html @@ -14,6 +14,11 @@
 INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 18, 'daytime', 'en_US', 'Day Phone' );
 INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 19, 'night', 'en_US', 'Night Phone' );
+
+
  • Optionally, apply the following changes to your database (performance improvement for large numbers of services or packages): +
    +CREATE INDEX part_pkg1 ON part_pkg ( disabled );
    +CREATE INDEX part_svc1 ON part_svc ( disabled );
     
  • If you want to use ACH (electronic checks), you will need to make changes to your database. The easiest way to make these changes is to dump your database (with pg_dump), change the payinfo field in the cust_pay, cust_refund, h_cust_pay and h_cust_refund tables from varchar(16) to varchar(80), reload the database from the dump, and run dbdef-create
  • Restart Apache and freeside-queued. diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 62e961dfa..6fe759bd9 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -280,14 +280,14 @@ print '
    '. qq!!. '