Wednesday, November 21, 2018

[google-cloud-sql-discuss] Re: The default value about “idle_in_transaction_session_timeout” of PostgreSQL in CloudSQL?

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]

[1] https://www.postgresql.org/docs/current/sql-set.html
[2] https://issuetracker.google.com/
[3] https://cloud.google.com/sql/docs/postgres/flags#list-flags-postgres

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/dae505d3-390c-4f49-b529-a3c89fb2699a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment