Re: Scripting a new db server setup

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: A E <cooljoint(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Scripting a new db server setup
Date: 2004-01-04 15:57:05
Message-ID: 873cavaer2.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A E <cooljoint(at)yahoo(dot)com> writes:

> Hi,
>
>
>
> Was wondering if there are ways to completely script a new postgresql
> installation. I need to be able to create the db, users, and db
> elements from one command so that I can included it in a setup
> routine.

Absolutely--write SQL scripts that do the work and feed them to 'psql'
in a shell script.

-Doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A E 2004-01-04 16:08:10 Re: Scripting a new db server setup
Previous Message Joshua D. Drake 2004-01-04 15:48:20 Re: failed to install posgrest