Re: Feature Request: Rename DB in pgAdmin - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: Feature Request: Rename DB in pgAdmin
Date
Msg-id 46559AEA.3040304@lelarge.info
Whole thread Raw
In response to Feature Request: Rename DB in pgAdmin  (Laurent ROCHE <laurent_roche@yahoo.com>)
List pgadmin-support
Laurent ROCHE a écrit :
> Another feature request:
> I would like to be able to rename a database by right clicking on a database and choosing Rename from the context
menu(which does not exist right now).
 
> 
> I know I can do the same thing by opening a query window and writing a ALTER DATABASE ... RENAME TO ...
> command, but that would seems a nice command to have (particularly when developing and moving database around).
>  

I first thought it would be easy to do with the properties dialog.
Unfortunately, it's more like a nightmare. You need to be the owner and
you need to have the CREATEDB privilege. Moreover, nobody must be
connected to it. Right click on it and pgAdmin launch a connection on it
(if it wasn't already done).

It really is more hard that I previously thought :) It does not seem
feasible right now.


-- 
Guillaume.
<!-- http://abs.traduc.org/    http://lfs.traduc.org/    http://docs.postgresqlfr.org/ -->


pgadmin-support by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: List to Father Christmas
Next
From: "Belbin, Peter"
Date:
Subject: pgAdminIII 1.6.3 pasting 64K into a text column