[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-committers
Subject:    pgsql: Initialize conn->Pfdebug to NULL when creating a connection
From:       Alvaro Herrera <alvherre () alvh ! no-ip ! org>
Date:       2021-03-31 22:22:07
Message-ID: E1lRjDz-0004LI-RU () gemulon ! postgresql ! org
[Download RAW message or body]

[Attachment #2 (text/plain)]

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(+)



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic