From: | Nuwan Liyanage <alnuwan2(at)yahoo(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: rename database |
Date: | 2008-02-06 20:35:41 |
Message-ID: | 465222.91055.qm@web46015.mail.sp1.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Ok I think I got it. I just went ahead and updated the pg_database table and it works..
Nuwan Liyanage <alnuwan2(at)yahoo(dot)com> wrote: 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.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2008-02-06 22:33:41 | Re: rename database |
Previous Message | Nuwan Liyanage | 2008-02-06 19:42:26 | rename database |