Y
Hacker News
new
|
ask
|
show
|
jobs
by
cyberax
459 days ago
Yes, the connection is "sticky" for the duration of the request. The middleware also automatically starts a transaction for you when you check out the connection.
1 comments
shayonj
459 days ago
There is something to be said about using SET LOCAL SESSION maybe. Esp. when using pgbouncer in between rails app and PostgreSQL and using session var
link