I need to be able to run PostgreSQL databases outside the standard installation directories, ie run the existing postgres
or pg_ctl
process pointing to the alternative ports, configuration and data directories and get it running, with permissions etc working okay.
I don't want it to depend on the existing package based installation setup's structures in /etc/postgresql
and /var/run/postgresql
and the postgres
user, but use their executables if possible.
I will not be using initdb
much. The data will be unzipped from other installations. The only thing required is database compatibility with the existing package based installations, which I may be able to install if they are absent. Using executables of my own will be the last resort, due to the possibility of unexpected local dependencies.
Windows appears well covered in that respect with some downloads at EnterpriseDB but there doesn't seem so much available for Linux.