Closed daurnimator closed 7 years ago
The commit 6ae871869598491a1da6bab00484a3f17759568a should help fix things up by providing a place to store the lua functions.
@mbalmer can we solve this soon?
I have just commited a new version that make noticeReceiver and noticeProcessor per connection and added a sample program in notice.lua.
setNoticeProcessor
andsetNoticeReceiver
set themselves in a global context; meaning all PGconns in one lua state end up sharing the same callbacks. This isn't acceptable for libraries that use luapgsql underneath.