Re: Alter columntype with pgadmin?

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Alter columntype with pgadmin?
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E490E158@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Alter columntype with pgadmin?  (Walter Haslbeck <wh@hillerzentri.de>)
Ответы Re: Alter columntype with pgadmin?  (Walter Haslbeck <wh@hillerzentri.de>)
Список pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of
> Walter Haslbeck
> Sent: 27 May 2005 10:48
> Cc: pgadmin-support@postgresql.org
> Subject: Re: [pgadmin-support] Alter columntype with pgadmin?
>
> Hi,
>
> > pgAdmin does support this feature in the 1.3 development
> series, but I'm
> > pretty sure it was in 1.2 as well.
>
> Well, I'm using the latest binary snapshot of the win32-version
> (20050526) and can't find this feature. If I open the propertys for a
> column of e.g. type 'char', the datatype and size input-boxes
> are greyed
> out. Where can I e.g. change the length of the char from 20 to 30?

If there is a suitable cast in the database, then the combo box will be
populated with usable column types and made selectable (try it with
varchar which should be castable). Any other conversion requires the use
of the USING clause to the alter table statement which pgAdmin doesn't
support. Also, from a quick scan of the code it appears that it won't
let you try to change the types of columns referenced in foreign keys.

Regards, Dave.


В списке pgadmin-support по дате отправления:

Предыдущее
От: Walter Haslbeck
Дата:
Сообщение: Re: Alter columntype with pgadmin?
Следующее
От: Walter Haslbeck
Дата:
Сообщение: Re: Alter columntype with pgadmin?