Constraint of relation does not exist

Constraint of relation does not exist

The cause of error: There is no constraint created with the specified name.
Check the constraint name.

Wrong drop

ALTER TABLE test.customers 
DROP CONSTRAINT fk_address_test;

Messages

ERROR: constraint “fk_address_test” of relation “customers” does not exist

Correct drop

ALTER TABLE test.customers 
DROP CONSTRAINT fk_address2;

Messages

ALTER TABLE