Re: Re : Am I overseen ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re : Am I overseen ?
Дата
Msg-id 27482.1192736143@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re : Am I overseen ?  (Lothar Behrens <lothar.behrens@lollisoft.de>)
Список pgsql-general
Lothar Behrens <lothar.behrens@lollisoft.de> writes:
> When there is a way to optionally add columns to existing tables via
> SQL I have very less development needs to get this working.

Why don't you just issue the ALTER ADD COLUMN and ignore the error
if it's duplicate column?

Or if you don't like that, it's not that hard to look into the system
catalogs and see if the column already exists.  A program bright enough
to be issuing dynamic DDL commands ought to be able to do that ...

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Abbreviation list
Следующее
От: "Tomi N/A"
Дата:
Сообщение: Re: a failover scenario