pgsql: Fix crash on syslogger startup

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix crash on syslogger startup
Date: 2023-10-06 07:27:15
Message-ID: [email protected]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/[email protected]

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2023-10-06 07:41:37 pgsql: Skip checking of scan keys required for directional scan in B-tr
Previous Message Michael Paquier 2023-10-06 01:03:25 pgsql: worker_spi: Fix test failure with BGWORKER_BYPASS_ALLOWCONN