From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: sgarden@club.fr
Subject: the date() function is undocumented while quite necessary
Date: Sat, 15 Feb 2020 15:06:03 +0000
Message-ID: <158177916388.6746.12385265846339386100@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/12/functions-datetime.html
Description:
I can't find anywhere the documentation of the SQL DATE() function which
extracts the date part out of a timestamp.
Please note that according to my tests, one can't use the cast operator when
defining expression-based indexes, while the date(column) expression is
accepted. It makes the DATE() function way more useful than one may think.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, sgarden@club.fr
Subject: Re: the date() function is undocumented while quite necessary
In-Reply-To: <158177916388.6746.12385265846339386100@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox