diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-21 18:32:29 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-21 18:32:29 +0900 |
commit | 1b21d951a9efda8bc8f99cdf6328afb45335cabb (patch) | |
tree | e2e5eececd2b39a8ce051305f996ab9821037ea9 /activerecord/lib/active_record/type_caster | |
parent | 97d3f5472ee2bbef630eaff4e20f9dcc7839d34f (diff) | |
download | rails-1b21d951a9efda8bc8f99cdf6328afb45335cabb.tar.gz rails-1b21d951a9efda8bc8f99cdf6328afb45335cabb.tar.bz2 rails-1b21d951a9efda8bc8f99cdf6328afb45335cabb.zip |
Prevent extra `SET time zone` in `configure_connection` (#28413)
`SET time zone 'value'` is an alias for `SET timezone TO 'value'`.
https://www.postgresql.org/docs/current/static/sql-set.html
So if `variables["timezone"]` is specified, it is enough to
`SET timezone` once.
Diffstat (limited to 'activerecord/lib/active_record/type_caster')
0 files changed, 0 insertions, 0 deletions