Re: Feature Request: Rename DB in pgAdmin

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Feature Request: Rename DB in pgAdmin
Дата
Msg-id 46559AEA.3040304@lelarge.info
обсуждение исходный текст
Ответ на Feature Request: Rename DB in pgAdmin  (Laurent ROCHE <laurent_roche@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: List to Father Christmas
Следующее
От: "Belbin, Peter"
Дата:
Сообщение: pgAdminIII 1.6.3 pasting 64K into a text column