Forum OpenACS Development: Response to Weird error invoking a plpgsql function (content_revision__delete)

Hi Dan,

I got your latest changes to content_revision__delete. At least I can call the function now, but I'm getting the following error:

[18/Jun/2001:10:36:35][21372.1635333][-conn96-] Error: dbinit: error(localhost::
openacs-4,ERROR:  triggered data change violation on relation "cr_item_publish_audit"
): '

select content_revision__delete('2655')

Is this the PG bug that you know about? It seems very strange that the trigger would be running, even when the revision I'm deleting is not the latest or live revision.