Based on this solution I would like to change the idle_in_transaction_session_timeout in Heroku Postgres, however I do not have the rights as a superuser (see Heroku default permissions). Are there any alternatives to this?
1 Answer
You can change it for your own user:
alter user current_user set idle_in_transaction_session_timeout = '5min'; 2 Comments
Julius
I am not sure this is working. If I run
show idle_in_transaction_session_timeout; it still shows me 0 and all the sessions that are idle in transaction haven't been terminated after 5 minutes.