On Sun, 4 Jan 2004, A E wrote:
> 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.
How about pgbash. Is it still being supporte
> 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 i
> 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.
That's rather easy.
A shell script can do roughly the following:
- initdb somewher