Re: [CYGWIN] Requirement for pgAdmin browser.

Поиск
Список
Период
Сортировка
От Jean-Michel POURE
Тема Re: [CYGWIN] Requirement for pgAdmin browser.
Дата
Msg-id 200112151456.fBFEuOG13451@www1.translationforge
обсуждение исходный текст
Ответы Re: [CYGWIN] Requirement for pgAdmin browser.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Le Vendredi 14 Décembre 2001 14:04, vous avez écrit :
> It is observed that while creating table, once we define the attributes and
> their properties, we can not change the attribute type. e.g. If we have
> defined an attribute of type int. Now if one want to change it to numeric,
> it is not allowed thorugh the pgAdmin GUI. However we have the option of
> further addition of the attribute to the table. Also it is not possible to
> remove the present attribute(s) in the table.

PostgreSQL does not allow table modification. The community have been waiting
for an ALTER TABLE DROP COLUMN and type PROMOTION / DEMOTION, for a long
time. Same as for Views and triggers : it is impossible to alter them... The
politics of PostgreSQL is to offer advanced features before basic ones.

Is anyone working seriously on those issues?

>> Is this a valid to have this kind of restriction if one want to do similar
> change?? I think either we have to go to the psql prompt and use some
> command, or refine the whole table after dropping the old one.
> Is there any solution to this through GUI, as it is easy to do it.

The only workaround by now is to use CREATE TABLE AS and dropping the old
table.

In pgAdmin I, we used to offer a development mode where you could modify all
parameters. Then the changes were applied to the database in a pseudo
compilation (drop/create). Then, we decided to wait for real ALTER features
in PostgreSQL. We are still waiting for them.

Best regards
Jean-Michel POURE

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

Предыдущее
От: Jean-Michel POURE
Дата:
Сообщение: mno-cygwin
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Problem compiling postgres sql --with-tcl