Forum OpenACS Q&A: Trouble deleting rows from sec_sessions

I am having trouble deleting rows from sec_sessions in an OpenACS 3.x system. Here is an example of what I tried:

l=# select count(*) from sec_sessions where session_id =  883640;
 count
-------
     1
(1 row)
 
l=# delete from sec_sessions where session_id = 883640;
DELETE 0                                                             

Any hints on why the silent failure?

Collapse
Posted by Jonathan Ellis on
Carl C-M ran into this a year ago. His thread is here. There's an ON DELETE trigger returning null that cancels the delete, was the problem. Dunno if there's a patch submitted or not.
Collapse
Posted by Tom Jackson on

I had a feeling that might be the case, thanks!

Collapse
Posted by Allan Regenbaum on