move from 1 database to another

From: "P(dot)M" <pmdanger(at)yahoo(dot)com>
To: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: move from 1 database to another
Date: 2006-05-25 18:52:04
Message-ID: 20060525185204.76168.qmail@web33209.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I would like to know how can i move from 1 database to another one ?

basically i want to run a *.sql script in which i connect under a particular database (for example : template1 or postgres) and my *.sql script should create a new database (for example : test) and after execute several SQL command under test database.

thanks a lot,

Maileen


---------------------------------
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Wall 2006-05-25 19:33:18 reindexdb program error under PG 8.1.3
Previous Message jois.de.vivre 2006-05-25 18:37:46 Re: meaning of PQresultStatus types