column already exist (ERROR replaced by warning)

Поиск
Список
Период
Сортировка
От Olivier Chapiteau
Тема column already exist (ERROR replaced by warning)
Дата
Msg-id 01050315370600.07992@ochapiteau.dagon.pdt
обсуждение исходный текст
Список pgsql-general
In my script, i do an ALTER TABLE l_table ADD next_h varchar(64) not null;

i get after the first execution !
 column name "next_h" already exists in table "l_table"

My problem is that the value returned by psql is 0, bu for me it's a warning,
not an error.(i want to obtain a 1 in this case)

Is it possible to disting the two types of error ?

thanks,

Olivier chapiteau

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Multiple Inheritance
Следующее
От: Vladislav Breus
Дата:
Сообщение: BLOB type