From: Leong, Fushan <fushan.leong@SonoSite.com>
To: pgsql-admin@postgresql.org
Subject: rename database
Date: Fri, 30 Nov 2001 10:59:20 -0800
Message-ID: <2DFBC8374F5A0F4E954C07C158844F323886EC@milton.sonosite.com> (raw)
Hi :
I am working on the procedure to restore a database from dump file ( pg_dump
). I am
thinking to create a new database, then restore the dump file, drop the old
database
and rename the old database to new database.
Do postgres has command to rename the database?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: fushan.leong@SonoSite.com
Subject: Re: rename database
In-Reply-To: <2DFBC8374F5A0F4E954C07C158844F323886EC@milton.sonosite.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox