pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nuwan Liyanage <alnuwan2@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: rename database
Date: Wed, 6 Feb 2008 11:42:26 -0800 (PST)
Message-ID: <952808.93056.qm@web46005.mail.sp1.yahoo.com> (raw)

Hi,
         I am trying to rename my database; I used the following command,
  Alter database postgres rename to post_dev;
  but I get a error saying that the "current database may not be renamed"
  I look at the documentation, and it says that I need to connect to a different database in order do that? 
  can someone please help me how to do that..
  Thanks
  alnuwan
  
       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

view thread (6+ messages)  latest in thread

Message-ID: <952808.93056.qm@web46005.mail.sp1.yahoo.com>
Permalink:  ../952808.93056.qm@web46005.mail.sp1.yahoo.com/
Also on:    postgresql.org/message-id/952808.93056.qm@web46005.mail.sp1.yahoo.com

 · 

reply

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: alnuwan2@yahoo.com
  Subject: Re: rename database
  In-Reply-To: <952808.93056.qm@web46005.mail.sp1.yahoo.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