BTW, why are all the conn parameters to events declared "const"? Isn'tthe reason for passing them in mainly to give the event proc a chanceto issue queries?
regards, tom lane