date_trunc function in interval version

From: Przemysław Sztoch <przemyslaw(at)sztoch(dot)pl>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: date_trunc function in interval version
Date: 2023-12-22 19:26:15
Message-ID: cfbaf48f-91be-ce58-db69-12fe0c1b16c2@sztoch.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello.
There is date_trunc(interval, timestamptz, timezone) function.
First parameter can be '5 year', '2 month', '6 hour', '3 hour', '15
minute', '10 second' etc.
--
Przemysław Sztoch | Mobile +48 509 99 00 66

Attachment Content-Type Size
date_trunc_interval_version-v1.patch text/plain 22.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2023-12-22 19:43:45 Re: date_trunc function in interval version
Previous Message Tom Lane 2023-12-22 18:33:59 Re: ci: Build standalone INSTALL file