Re: postgres_fdw: Fix bug in checking of return value of PQsendQuery().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres_fdw: Fix bug in checking of return value of PQsendQuery().
Дата
Msg-id 15770.1658416968@sss.pgh.pa.us
обсуждение исходный текст
Ответ на postgres_fdw: Fix bug in checking of return value of PQsendQuery().  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-hackers
Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> I found that fetch_more_data_begin() in postgres_fdw reports an error when PQsendQuery() returns the value less than
0as follows though PQsendQuery() can return only 1 or 0. I think this is  a bug. Attached is the patch that fixes this
bug.This needs to be back-ported to v14 where async execution was supported in postgres_fdw. 

Yup, clearly a thinko.

            regards, tom lane



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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: PG 15 (and to a smaller degree 14) regression due to ExprEvalStep size
Следующее
От: Martin Kalcher
Дата:
Сообщение: Re: [PATCH] Introduce array_shuffle() and array_sample()