Re: PostgreSQL Deployment

Поиск
Список
Период
Сортировка
От Steve Atkins
Тема Re: PostgreSQL Deployment
Дата
Msg-id 20050107182523.GB29912@gp.word-to-the-wise.com
обсуждение исходный текст
Ответ на PostgreSQL Deployment  ("Hong Ji" <hj2004@hji.net>)
Список pgsql-general
On Fri, Jan 07, 2005 at 06:31:35AM -0800, Hong Ji wrote:
> Hi
> I am new to PostgreSQL and interested in using PostgreSQL in our
> application.
> But I have questions regarding what our users have to do to install the
> software.
>
> I can not find documentation on how to deploy application which uses
> PostgreSQL.
>
> Or does the user have to run separate setup (beside our application's setup
> program) to just install PostgreSQL as server?

We bundle an installation of PostgreSQL in the same tarball as our
application (installed within our applications directory structure and
built to run on a different port by default, so that it doesn't clash
with a native postgresql, if any). As part of our install script we
run initdb, createuser etc., exactly as explained in the standard
postgresql install docs.

That works for us, as the application is usually running on a machine
that's mostly dedicated to it. More usually as a user I'd usually
prefer the option of using an already installed postgresql instance if
one were available.

Cheers,
  Steve


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

Предыдущее
От: Scott Ribe
Дата:
Сообщение: Re: does "select count(*) from mytable" always do a seq
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: PL/Perl