It sounds like a pretty good idea to be able to determine where the DELETE call is coming from. But unfortunately I can't figure out how to create such package. What is the stack_pg?
I am feeling closer to the finishing line - so please help me further :-)