diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-04-01 16:12:53 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-04-01 16:12:53 +0200 |
commit | 91e7c903291116bd081abe7d4a058d40a2a06e16 (patch) | |
tree | 64d8c9848e98ffc978064616820f0def79b6cef9 /src/backend/utils/adt/dbsize.c | |
parent | dde1a35aee6266dc8105717275335c46cd2b3650 (diff) | |
download | postgresql-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/dbsize.c')
0 files changed, 0 insertions, 0 deletions