Re: PQconnectdb/PQerrorMessage changed behavior on master

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQconnectdb/PQerrorMessage changed behavior on master
Дата
Msg-id 81296.1624824423@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PQconnectdb/PQerrorMessage changed behavior on master  (Alexander Lakhin <exclusion@gmail.com>)
Ответы Re: PQconnectdb/PQerrorMessage changed behavior on master  (Alexander Lakhin <exclusion@gmail.com>)
Список pgsql-hackers
Alexander Lakhin <exclusion@gmail.com> writes:
> While trying to use sqlsmith with postgres compiled from the master
> branch, I've found that the PQerrorMessage() function now returns
> non-informational but not empty error message after the successful
> PQconnectdb() call.

Yeah, see thread here:

https://www.postgresql.org/message-id/20210506162651.GJ27406%40telsasoft.com

sqlsmith is definitely Doing It Wrong there, but there's a
reasonable question whether such coding is common.

            regards, tom lane



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

Предыдущее
От: Alexander Lakhin
Дата:
Сообщение: PQconnectdb/PQerrorMessage changed behavior on master
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Overflow hazard in pgbench