Forum OpenACS Development: Re: bug fixes from 4.6 merged to HEAD

Collapse
Posted by Andrei Popov on
> Andrei: Regarding the ACS=1 information.  That is correct;
> I had not thought of the fact that OpenACS would say
> 'you need to update' instead of 'your PostgreSQL driver
> doesn't contain the extra functionality required by
> OpenACS'.
So, maybe the following change should be applied, what do you say?
--- packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl.org  2003-01-22 12:11:48.000000000 +0100
+++ packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl      2003-01-22 12:08:56.000000000 +0100
@@ -41,7 +41,7 @@
     }

     if { [catch { ns_pg_bind 1row $db "select count(*) from pg_class" }] } {
-        append my_errors "<li>Your Postgres driver is too old.  You need to update\."
+        append my_errors "<li>Your PostgreSQL driver was not compiled with OpenACS support.  Please recompile it with <tt>ACS=1</tt>.\n"
         set my_error_p 1
     }