Dave Page dpage at postgresql.org
Mon Jan 7 12:46:38 PST 2008
We ran into a problem with the EDB-Postgres installer on Linux in
which Slonik couldn't find the scripts to initialise a cluster. The
problem turned out to be that the share directory is defined by the
configure script at build time - which resolved to our build staging
directory and obviously not the directory the user opted to install to
on his own mchine.

This problem doesn't exist on Windows which we intentionally coded
such that it was fully relocatable. Is there any reason not to have
other platforms query Postgres for the share directory at runtime, per
the attached patch? Obviously this requires sharing the Postgres share
directory at all times, but does anyone ever do anything different?

Regards, Dave.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: share_path.diff
Type: application/octet-stream
Size: 2165 bytes
Desc: not available
Url : http://lists.slony.info/pipermail/slony1-hackers/attachments/20080107=
/963962d3/share_path.obj


More information about the Slony1-hackers mailing list