"BRUSSER Michael" <michael.brus...@3ds.com> writes:
> I'm not sure if our current approach would work with v8.4. This is what we do 
> in the nutshell:
> - build Postgres
> - do not run install
> - collect all generated libraries, executables and input files and pack them 
> along with other app
> - distribute the tar-ball to the customer
> - untar and install the app
>     the installation script at some point calls initdb, create database, 
> createlang, create user, 
>     it creates config files... done.

If that ever worked, with any version of Postgres, I'd be astonished.

Here is what you should do:

1. Build Postgres with --prefix set to some empty directory.
2. Run install.
3. Bundle up the resulting install tree as part of your tarball.  Do not
editorialize upon the relative locations of its contents.
4. Drop the install tree wherever you want on the target machine.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to