From: Robert Haas <robertmhaas@gmail.com>
To: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: Nikita Glukhov <n.gluhov@postgrespro.ru>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Cc: Alexander Korotkov <akorotkov@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Implement jsonpath .datetime() method
Date: Thu, 3 Oct 2019 09:48:32 -0400
Message-ID: <CA+TgmoaTdXT8wwmmnM3sBBG2FZQbb5DpXQBoJ+HSvsy6abQQeA@mail.gmail.com> (raw)
In-Reply-To: <CAPpHfdvbxyk2_ODMomMWKaUg1EZdJbo3OrK2A-WqSoSwvvm4Wg@mail.gmail.com>
References: <a5629d0c-8162-7559-16aa-0c8390d6ba5f@postgrespro.ru>
<CAPpHfdtOS270Jf7qNZwVg-aAMLgW5PJmfXS5FsB48ekxvHp3Sw@mail.gmail.com>
<CA+Tgmoad=8vPjr1krdiE5qbaRoJPCaBkq8jQm+o4dhUYZHC7Nw@mail.gmail.com>
<CAPpHfdvbxyk2_ODMomMWKaUg1EZdJbo3OrK2A-WqSoSwvvm4Wg@mail.gmail.com>
On Tue, Oct 1, 2019 at 1:41 PM Alexander Korotkov
<a.korotkov@postgrespro.ru> wrote:
> So, basically standard requires us to suppress any error happening in
> filter expression.
Sounds like the standard is dumb, then. :-)
> But as I wrote before suppression of errors in
> datetime comparison may lead to surprising results. That happens in
> rare corner cases, but still. This makes uneasy choice between
> consistent behavior and standard behavior.
Yeah.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
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-committers@postgresql.org
Cc: robertmhaas@gmail.com, a.korotkov@postgrespro.ru, n.gluhov@postgrespro.ru, pgsql-committers@lists.postgresql.org, akorotkov@postgresql.org, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Subject: Re: pgsql: Implement jsonpath .datetime() method
In-Reply-To: <CA+TgmoaTdXT8wwmmnM3sBBG2FZQbb5DpXQBoJ+HSvsy6abQQeA@mail.gmail.com>
* 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