pgsql: Fix error reporting of connect_timeout in libpq for value parsin

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix error reporting of connect_timeout in libpq for value parsin
Дата
Msg-id E1iMNc9-0000CJ-PX@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix error reporting of connect_timeout in libpq for value parsing

The logic was correctly detecting a parsing failure, but the parsing
error did not get reported back to the client properly.

Reported-by: Ed Morley
Author: Lars Kanis
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/a9b4cbd7-4ecb-06b2-ebd7-1739bbff3217@greiz-reinsdorf.de
Backpatch-through: 12

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ba19a6b73c5bd771d8864171ede03503a9ff564e

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 4 ++++
1 file changed, 4 insertions(+)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix parsing of integer values for connection parameters in libpq
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Remove last traces of heap_open/close in the tree