Re: Support for jsonpath .datetime() method

Alexander Korotkov <a.korotkov@postgrespro.ru>

From: Alexander Korotkov <a.korotkov@postgrespro.ru>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-07-02T09:16:14Z
Lists: pgsql-hackers

Attachments

On Mon, Jul 1, 2019 at 7:28 PM Alexander Korotkov
<a.korotkov@postgrespro.ru> wrote:
> On Tue, May 28, 2019 at 8:55 AM Alexander Korotkov
> <a.korotkov@postgrespro.ru> wrote:
> > Attached patchset implements jsonpath .datetime() method.
>
> Revised patchset is attached.  Some inconsistencies around
> parse_datetime() function are fixed.  Rebased to current master as
> well.

I found commitfest.cputube.org is unhappy with this patchset because
of gcc warning.  Fixed in attached patchset.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Commits

  1. Allow datetime values in JsonbValue

  2. Error suppression support for upcoming jsonpath .datetime() method

  3. Implement jsonpath .datetime() method

  4. Implement parse_datetime() function

  5. Implement standard datetime parsing mode

  6. Support for SSSSS datetime format pattern

  7. Support for FF1-FF6 datetime format patterns