On 26.6.2013 12:19, Alban Hertroys
wrote:
Here you go. But I don't think that is the cause. I'm getting these errors on tables as well. Actually when I copy and paste the offending queries from log into pgAdmin it runs without an error. Table "public.recipients" Column | Type | Modifiers | Storage | Stats target | Description -----------+---------+-----------+---------+--------------+------------- contactid | integer | | plain | | dealid | integer | | plain | | Indexes: "recipients_dealid_key" UNIQUE CONSTRAINT, btree (dealid, contactid) "fki_recipients_contactid" btree (contactid) Foreign-key constraints: "$1" FOREIGN KEY (contactid) REFERENCES contacts(contactid) ON UPDATE CASCADE ON DELETE CASCADE "recipients_dealid_fk" FOREIGN KEY (dealid) REFERENCES subscription(dealid) ON UPDATE CASCADE ON DELETE CASCADE Has OIDs: yes |