Why is there no ADD CONSTRAINT IF NOT EXISTS ?

Поиск
Список
Период
Сортировка
От Stephen Carboni
Тема Why is there no ADD CONSTRAINT IF NOT EXISTS ?
Дата
Msg-id CAN-rLW_L0s-nt5AC5A=RLtCjeB-aaZRd-oRfkKf0OeYXCNzHng@mail.gmail.com
обсуждение исходный текст
Ответы Re: Why is there no ADD CONSTRAINT IF NOT EXISTS ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
I can drop a constraint if it exists, but cannot simply add one if it does not exist. Is there something especially difficult about supporting this?

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

Предыдущее
От: Simon Connah
Дата:
Сообщение: Re: Dealing with multiple currencies with the money type?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why is there no ADD CONSTRAINT IF NOT EXISTS ?