Re: Parameter marker swapping in {fn timestampdiff()}

Поиск
Список
Период
Сортировка
От Matthew Bellew
Тема Re: Parameter marker swapping in {fn timestampdiff()}
Дата
Msg-id CAJnjrPOEm9ztybS=Yf3+Qs1OU+pEW0rQQcDT=TggucsfYTQFNQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parameter marker swapping in {fn timestampdiff()}  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Thanks, reposted.

On Sun, Mar 26, 2023 at 11:54 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Matthew Bellew <matthewb@labkey.com> writes:
> I recently made a small change to a core utility and our sql tests flagged
> some unexpected results.  I traced these to timestampdiff().  Below is a
> running code function (except for creating the JDBC Connection).  I expect
> the same result for all three executeQuery() calls.  The version that uses
> string literals return 366 and the versions that use parameter markers
> return -366.

You probably want to report that on the pgsql-jdbc list.  This list
mainly deals in bugs in core Postgres, so I'm not very sure whether
the JDBC maintainers read it.

                        regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Parameter marker swapping in {fn timestampdiff()}
Следующее
От: Richard Guo
Дата:
Сообщение: Re: A structure has changed but comment modifications maybe missed