Can't drop constraint?

From: Carol Walter <walterc(at)indiana(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: Can't drop constraint?
Date: 2009-05-05 15:23:42
Message-ID: 5D4683FD-DDAB-46CB-B3E6-62B1082A8CD4@indiana.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

I don't know how they did this, but I have a table that has a compound
field constraint. When I try to insert data into this table from an
app I'd developing the query fails because the data supposedly
violates the unique constraint on these fields. The fields are first,
middle, and last names. The name I'm trying to insert doesn't exist
in the database, yet I can't put it in. When I try to drop the
constraint, which I can plainly see when I describe the table,
postgres tells me that the constraint doesn't exist. How can I fix
this?

Thanks,
Carol

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2009-05-05 16:08:51 Re: Can't drop constraint?
Previous Message Greg Sabino Mullane 2009-05-05 15:21:22 Re: postgres 8.2.9 can`t drop database in single user mode