pgsql: Fix crash on syslogger startup - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix crash on syslogger startup
Date
Msg-id E1qofEw-000IXd-CD@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix crash on syslogger startup

When syslogger starts up, ListenSockets is still NULL. Don't try to
pfree it. Oversight in commit e29c464395.

Reported-by: Michael Paquier
Discussion: https://www.postgresql.org/message-id/ZR-uNkgL7m60lWUe@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5da0a622e88907722ce456d30dbf0565ed7a222b

Modified Files
--------------
src/backend/postmaster/postmaster.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: worker_spi: Fix test failure with BGWORKER_BYPASS_ALLOWCONN
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Skip checking of scan keys required for directional scan in B-tr