rename database

From: "Leong, Fushan" <fushan(dot)leong(at)SonoSite(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: rename database
Date: 2001-11-30 18:59:20
Message-ID: 2DFBC8374F5A0F4E954C07C158844F323886EC@milton.sonosite.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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?

Browse pgsql-admin by date

  From Date Subject
Next Message Dado Feigenblatt 2001-12-01 01:09:20 field order
Previous Message Tony Reina 2001-11-30 18:52:26 psql option for writing schema