Re: date_trunc() in a specific time zone

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: vik.fearing@2ndquadrant.com
Cc: Paul A Jungwirth <pj@illuminatedcomputing.com>, Steve Crawford <scrawford@pinpointresearch.com>, andreas@proxel.se, pgsql-hackers@lists.postgresql.org
Date: 2018-11-14T20:42:31Z
Lists: pgsql-hackers
I wrote:
> Here's a v2 that transposes the code to C so that we can get that
> optimization.

Pushed after a bit more testing and documentation-wordsmithing.

			regards, tom lane


Commits

  1. Add a timezone-specific variant of date_trunc().