Re: initdb failure with Postgres 8.4.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: initdb failure with Postgres 8.4.4
Дата
Msg-id 8338.1292255932@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: initdb failure with Postgres 8.4.4  ("BRUSSER Michael" <Michael.BRUSSER@3ds.com>)
Ответы Re: initdb failure with Postgres 8.4.4  ("BRUSSER Michael" <Michael.BRUSSER@3ds.com>)
Список pgsql-hackers
"BRUSSER Michael" <Michael.BRUSSER@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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: hstores in pl/python
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: SQL/MED - file_fdw