[openstreetmap/openstreetmap-website] bump pg version in doc (#2404)
notifications at github.com
Sat Oct 19 16:06:18 UTC 2019
Production still uses 9.5, so simply updating the docs won't help in any case.
Can't we make that statement depend on the actual Postgresql version in use, and only execute it if it is supported?
DECLARE pg_version int := current_setting('server_version_num');
IF pg_version >= 90600 THEN
EXECUTE 'SET idle_in_transaction_session_timeout = 0';
END $$ LANGUAGE plpgsql;
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev