Re: DROP CONSTRAINT IF EXISTS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DROP CONSTRAINT IF EXISTS
Дата
Msg-id 25298.1281743639@sss.pgh.pa.us
обсуждение исходный текст
Ответ на DROP CONSTRAINT IF EXISTS  (<william.a.dean@gdc4s.com>)
Список pgsql-bugs
<william.a.dean@gdc4s.com> writes:
> The sql statement  'ALTER TABLE <table name> DROP CONSTRAINT IF EXISTS
> <constraint-name>' returns with a syntax error on exists.  The
> documentation states that the IF EXISTS clause is allowed in DROP
> CONSTRAINT statements.

Apparently you're reading 9.0 documentation and using a pre-9.0 server.
Please see the manual appropriate to your PG version.

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: DROP CONSTRAINT IF EXISTS
Следующее
От: Itagaki Takahiro
Дата:
Сообщение: Re: BUG #5608: array_agg() consumes too much memory