Re: undeleteable records
От | Ed Loehr |
---|---|
Тема | Re: undeleteable records |
Дата | |
Msg-id | 3B561538.D82D9027@austin.rr.com обсуждение исходный текст |
Ответ на | undeleteable records (Tara Cooper <carat@pantz.com>) |
Список | pgsql-general |
Tara Cooper wrote: > > Has anyone encountered a problem where a delete sql statement works (no > parser errors) but always returns a "DELETE 0" value, even when I'm > sure the record I'm selecting for delete is in the table? I have also > tried deleting the same record by specifying a different field value, > with the same results, as well as trying all of this with multiple > records in the same table. None of the records will delete. I've > copied the table, the select statement showing the record I want to > delete in that table, and the delete statement itself. I'm currently > using postgres-sql 7.1 rc2. (I know, I know...but it's a development > server.) Thanks! > > -T > > DELETE FROM ec_gift_certificates WHERE gift_certificate_id = 9; > DELETE 0 > > SELECT gift_certificate_id FROM ec_gift_certificates WHERE > gift_certificate_id = 9; > > gift_certificate_id > --------------------- > 9 > (1 row) Looks strange. Any delete triggers setup on ec_gift_certificates? What does your server log show? Regards, Ed Loehr
В списке pgsql-general по дате отправления: