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
Upon a new session/connection it is sometimes useful to run a query or two, such as:
SET statement_timeout ='2s';
or
SETplv8.start_proc='plv8_init';
In a situation where you are using a Pool connections might idle out or be refreshed, so I think this would have to be something that sqlx would provide a feature for (or some kind of "new connection" hook/closure) in order to be reliable.
I know this is pretty niche and probably not likely to be a high priority, but what do you think?
The text was updated successfully, but these errors were encountered:
Upon a new session/connection it is sometimes useful to run a query or two, such as:
or
In a situation where you are using a
Pool
connections might idle out or be refreshed, so I think this would have to be something that sqlx would provide a feature for (or some kind of "new connection" hook/closure) in order to be reliable.I know this is pretty niche and probably not likely to be a high priority, but what do you think?
The text was updated successfully, but these errors were encountered: