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:37
Message-ID: E1pczDs-003ut4-P6@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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8fcd1517f0d7d57fe9cf586a1419936ce90c5e97

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:48 pgsql: Small tidyup for commit d41a178b, part II.
Previous Message Thomas Munro 2023-03-17 01:49:28 pgsql: Small tidyup for commit d41a178b, part II.