diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-04-10 19:33:46 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-04-10 19:33:46 +0200 |
commit | 496e58bb0e5e939e6ed5839c92b05e3ab11b54bb (patch) | |
tree | 7a58b873caea3816bac0579bac291a6629678ab8 /src/backend/access/transam/commit_ts.c | |
parent | 99964c4ade468c35a3f6e248a2380a1ff67d9cd3 (diff) | |
download | postgresql-496e58bb0e5e939e6ed5839c92b05e3ab11b54bb.tar.gz postgresql-496e58bb0e5e939e6ed5839c92b05e3ab11b54bb.zip |
Improve behavior of date_bin with origin in the future
Currently, when the origin is after the input, the result is the
timestamp at the end of the bin, rather than the beginning as
expected. This puts the result consistently at the beginning of the
bin.
Author: John Naylor <john.naylor@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/CAFBsxsGjLDxQofRfH+d4KSAXxPf3MMevUG7s6EDfdBOvHLDLjw@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions