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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Parameter marker swapping in {fn timestampdiff()}
Дата
Msg-id 3016276.1679856879@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Parameter marker swapping in {fn timestampdiff()}  (Matthew Bellew <matthewb@labkey.com>)
Ответы Re: Parameter marker swapping in {fn timestampdiff()}  (Matthew Bellew <matthewb@labkey.com>)
Список pgsql-bugs
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 по дате отправления:

Предыдущее
От: Matthew Bellew
Дата:
Сообщение: Parameter marker swapping in {fn timestampdiff()}
Следующее
От: Matthew Bellew
Дата:
Сообщение: Re: Parameter marker swapping in {fn timestampdiff()}