aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-04-01 16:12:53 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-04-01 16:12:53 +0200
commit91e7c903291116bd081abe7d4a058d40a2a06e16 (patch)
tree64d8c9848e98ffc978064616820f0def79b6cef9 /src/backend/utils/adt/pgstatfuncs.c
parentdde1a35aee6266dc8105717275335c46cd2b3650 (diff)
downloadpostgresql-91e7c903291116bd081abe7d4a058d40a2a06e16.tar.gz
postgresql-91e7c903291116bd081abe7d4a058d40a2a06e16.zip
Fix internal extract(timezone_minute) formulas
Through various refactorings over time, the extract(timezone_minute from time with time zone) and extract(timezone_minute from timestamp with time zone) implementations ended up with two different but equally nonsensical formulas by using SECS_PER_MINUTE and MINS_PER_HOUR interchangeably. Since those two are of course both the same number, the formulas do work, but for readability, fix them to be semantically correct.
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions