The default value about “idle_in_transaction_session_timeout” of PostgreSQL in CloudSQL?
252 views
Skip to first unread message
張懷倫
unread,
Nov 21, 2018, 10:16:18 AM11/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Cloud SQL discuss
I spent more time to figure out this problem, but get nothing. Have anyone know the answer ?
Or teach me how to set the value "idle_in_transaction_session_timeout" of Postgres in CloudSQL.
Thanks for your help !!
Yasser Karout (Cloud Platform Support)
unread,
Nov 21, 2018, 1:28:11 PM11/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-cloud...@googlegroups.com
You can set idle_in_transaction_session_timeout on the session level in PostgreSQL 9.6 using SET [1]:
SET SESSION idle_in_transaction_session_timeout = '5min';
If you need this to be set at instance level, I recommend opening a Feature Request on the issue tracker website [2] so that the Cloud SQL Team can look into it as this flag is not implemented for Postgres in Cloud SQL [3]
The default value is 0 which disables the feature according to the Postgres docs [4]