{"action":"opened","issue":{"url":"https://api.github.com/repos/brianc/node-postgres/issues/1659","repository_url":"https://api.github.com/repos/brianc/node-postgres","labels_url":"https://api.github.com/repos/brianc/node-postgres/issues/1659/labels{/name}","comments_url":"https://api.github.com/repos/brianc/node-postgres/issues/1659/comments","events_url":"https://api.github.com/repos/brianc/node-postgres/issues/1659/events","html_url":"https://github.com/brianc/node-postgres/issues/1659","id":326470945,"number":1659,"title":"How many pools per project","user":{"login":"spimou","id":16806546,"avatar_url":"https://avatars2.githubusercontent.com/u/16806546?v=4","gravatar_id":"","url":"https://api.github.com/users/spimou","html_url":"https://github.com/spimou","followers_url":"https://api.github.com/users/spimou/followers","following_url":"https://api.github.com/users/spimou/following{/other_user}","gists_url":"https://api.github.com/users/spimou/gists{/gist_id}","starred_url":"https://api.github.com/users/spimou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spimou/subscriptions","organizations_url":"https://api.github.com/users/spimou/orgs","repos_url":"https://api.github.com/users/spimou/repos","events_url":"https://api.github.com/users/spimou/events{/privacy}","received_events_url":"https://api.github.com/users/spimou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-25T10:38:07Z","updated_at":"2018-05-25T10:38:07Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\nI use node 8.11.1, express 4.16.3, pg 7.4.2 and PostgreSQL 10 and PostGIS. I would like to use two pools in the same project : \r\none for the front-end users and one for the CMS users, after they successfully login. Every pool has different database privileges. In both front-end and CMS, there are some spatial queries also. \r\n\r\nIt makes sense to use two different pools, but according to the documentation \". You generally want a limited number of these in your application and usually just 1.\"\r\n\r\nSo, what do you suggest, should I use two pools? What are the criteria that render two pools viable or not? What should I watch out for?\r\n\r\nThank you"}}
{"actor":{"display_login":"spimou"}}