You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 30, 2019. It is now read-only.
I am trying to figure out how to handle my prepared statement already exists errors.
Is there a way to hook into the "new connection created" method and do something before calling its callback? It would be great if I could create some prepared statements, then run any queries. I noticed there is an option you can pass into pg-pool called onCreated but i dont see it being used anywhere in index.js.
any ideas how to go about solving my problem?
thanks
edit: i just noticed this PR #43, should I just fork this lib and use that until the PR is merged?