On Tue, Feb 28, 2017 at 9:50 AM, Ivan Voras <ivoras@gmail.com> wrote:ivoras=# alter table foo alter constraint "foo_a_b_key" deferrable;ERROR: constraint "foo_a_b_key" of relation "foo" is not a foreign key constraintA more clear error message would be:EROR: cannot alter non-foreign key constraint "foo_a_b_key" of relation "foo"Though I'm not sure how that meshes with the error message style guides...
ivoras=# alter table foo alter constraint "foo_a_b_key" deferrable;ERROR: constraint "foo_a_b_key" of relation "foo" is not a foreign key constraint
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных