| From: | A E <cooljoint(at)yahoo(dot)com> |
|---|---|
| To: | Doug McNaught <doug(at)mcnaught(dot)org> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Scripting a new db server setup |
| Date: | 2004-01-04 16:08:10 |
| Message-ID: | 20040104160810.14842.qmail@web12102.mail.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Thanks Doug! I got some weird errors though when trying to run a command to create db, create user, create elements from the pgAdmin sql editor. I was trying to test and in a nutshell it not allow me to create the db in the same script as everything else, because I seperated the parts and it worked fine.
Thanks Karsten, but I was unsure of what I was looking at.
Alex
Doug McNaught <doug(at)mcnaught(dot)org> wrote:
A E 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Keith C. Perry | 2004-01-04 16:17:24 | Re: TPC-C and Postgres |
| Previous Message | Doug McNaught | 2004-01-04 15:57:05 | Re: Scripting a new db server setup |