Re: BUG #15289: Type inference of parameters in prepared statementscan sometimes fail or succeed, depending...

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #15289: Type inference of parameters in prepared statementscan sometimes fail or succeed, depending...
Дата
Msg-id CAKFQuwZg5H0e8Yb6q8UDMo6_9nkL2uq_tcQEkc+--mwy66e4Eg@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #15289: Type inference of parameters in prepared statements cansometimes fail or succeed, depending...  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15289: Type inference of parameters in prepared statementscan sometimes fail or succeed, depending...  (Nick Farmer <farmernick-pg@varteg.nz>)
Список pgsql-bugs
On Saturday, July 21, 2018, PG Bug reporting form <noreply@postgresql.org> wrote:
I can accept either behaviour
(though the former is more useful); it's the fact that I get both that's
unwelcome.

But each of those behaviors is consistently encountered every time the query is run so there isn't any hidden danger involved here; compared to if the error only occurred if certain data was encountered during execution.  As Tom said, while a bit inconcsistent the effort to fix outweighs the the fact there is no actual problem, just an unexpected dependency on the written query.

David J.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #15289: Type inference of parameters in prepared statements can sometimes fail or succeed, depending...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: LLVM jit and window functions on a temporary table