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

Collapse
Posted by Lamar Owen on
Tammy: That would be the CVS HEAD you checked out, which is probably going to become 4.7.  To get 4.6 you need to specify the tag on the cvs checkout command line:

(omitting the -d cvsroot location -- add it back in for this to work)
cvs co -r oacs-4-6  (I think that's the right tag, but it may not be)

Without the -r option you get the CVS development HEAD, whatever version that happens to be.

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'.

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
     }