Обсуждение: pgsql: Initialize conn->Pfdebug to NULL when creating a connection

Поиск
Список
Период
Сортировка

pgsql: Initialize conn->Pfdebug to NULL when creating a connection

От
Alvaro Herrera
Дата:
Initialize conn->Pfdebug to NULL when creating a connection

Failing to do this can cause a crash, and I suspect is what has happened
with a buildfarm member reporting mysterious failures.

This is an ancient bug, but I'm not backpatching since evidently nobody
cares about PQtrace in older releases.

Discussion: https://postgr.es/m/3333908.1617227066@sss.pgh.pa.us

Branch
------
master

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

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