ALTER TABLE Problem

Поиск
Список
Период
Сортировка
От dirk.jacobs@tuple.be
Тема ALTER TABLE Problem
Дата
Msg-id OFB1290811.1351ED72-ON41256B7D.0043FB99@tuple.be
обсуждение исходный текст
Список pgsql-bugs
Hi,

- I tried to execute following SQL alter table PRICEGROUP add FOREIGN KEY
("PARENT") REFERENCES "PRICEGROUP" ON DELETE CASCADE

this gives an error ALTER TABLE: column "PARENT" referenced in foreign key
constraint does not exist (7) while I'm sure that the column exists and is
Non null. I'm using version 7.2 on linux redhat 7.2

- I also tried some ODBC stuff. Here I've seen that the S.... result codes
are not correct. Most of the time it simply return S1000 which is a
general error code.

and not a specific code. e.g. when you want to create a table that already
exists it should return the correct error. ( same for an index, etc... )


Regards,


Dirk Jacobs

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

Предыдущее
От: "Mikheev, Vadim"
Дата:
Сообщение: Re: Bug #613: Sequence values fall back to previously chec
Следующее
От: Viacheslav N Tararin
Дата:
Сообщение: ...