Re: truncating timestamps on arbitrary intervals
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: John Naylor <john.naylor@enterprisedb.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>, Alvaro Herrera <alvherre@alvh.no-ip.org>, Peter Geoghegan <pg@bowt.ie>
Date: 2021-07-28T04:14:58Z
Lists: pgsql-hackers
On Tue, Jul 27, 2021 at 12:05:51PM -0400, John Naylor wrote: > Concretely, I propose to push the attached on master and v14. Since we're > in beta 2 and this thread might not get much attention, I've CC'd the RMT. (It looks like gmail has messed up a bit the format of your last message.) Hmm. The docs say also the following thing, but your patch does not reflect that anymore: "Negative intervals are allowed and are treated the same as positive intervals." So you may want to update that, at least. -- Michael
Commits
-
Disallow negative strides in date_bin()
- fc0d9b8c224f 14.0 landed
- 3ba70d4e1523 15.0 landed
-
Improve behavior of date_bin with origin in the future
- 496e58bb0e5e 14.0 landed
-
doc: Additional documentation for date_bin
- 49fb4e6b2490 14.0 landed
-
Add date_bin function
- 49ab61f0bdc9 14.0 landed