Displaying 1 result from an estimated 1 matches for "commandtimeout".
Did you mean:
command_timeout
2009 Oct 14
2
How to configure every (postgresql) db connection?
I would like to set some db session variables specific to my
application on the database connection that rails uses. They can be
set by issuing an SQL command like "SET statement_timeout = 1000"
once - it will be in effect for every subsequent SQL statement that
uses this connection.
So I tried to put the following into an initializer:
ActiveRecord::Base.connection.execute("SET