Attached is a patch that extends pooler to support LOCAL and SESSION parameters.
There is still an issue when user logs out. It crashes the server if assertions are enabled.
Version 2 of the patch corrects a couple of bugs:
- connection release is done correctly when session is cut
- pooler launches synchronously SET commands to nodes
- a fix for JOIN crash
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Version 2 of the patch corrects a couple of bugs:
- connection release is done correctly when session is cut
- pooler launches synchronously SET commands to nodes
- a fix for JOIN crash
This has been committed with ID 8b018fd20850ec0753fdfbef024b9a957efaeb0a