Forum OpenACS Development: Response to I've made an interesting commit to the tree...

Collapse
Posted by Don Baccus on
Oh, one thing:

At the moment there's config magic to tell the bootstrapper where to
find the pgsql bin directory.

Assuming you've named your postgres driver "postgres", ala

/ns/db/drivers
ns_param postgres postgres.so

add:

/ns/db/driver/postgres
ns_param pgbin "/home/pgtest/install/bin"

(which is where 7.1 lives on my system, you get the idea...)

Note that "drivers" is plural and "driver" singular in the above example.

Before release (beta or otherwise) I intend to get the toolkit to look
for the proper PG environment variables and to find psql there by
default.  The above will still be useful for overriding defaults, i.e.
I run 7.0 and 7.1 on the same machine and share a user account for my
various OpenNSD instances so being able to override the default's handy.