pgsql: Small tidyup for commit d41a178b, part II.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Small tidyup for commit d41a178b, part II.
Date: 2023-03-17 01:49:08
Message-ID: E1pczDP-003urC-KD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Small tidyup for commit d41a178b, part II.

Further to commit 6a9229da, checking for NULL is now redundant. An "out
of memory" error would have been thrown already by palloc() and treated
as FATAL, so we can delete a few more lines.

Back-patch to all releases, like those other commits.

Reported-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/4040668.1679013388%40sss.pgh.pa.us

Branch
------
REL_15_STABLE

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

Modified Files
--------------
src/backend/postmaster/postmaster.c | 5 -----
1 file changed, 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2023-03-17 01:49:18 pgsql: Small tidyup for commit d41a178b, part II.
Previous Message Thomas Munro 2023-03-17 01:48:58 pgsql: Small tidyup for commit d41a178b, part II.