Small tidyup for commit d41a178b, part II.

Thomas Munro <tmunro@postgresql.org>

Commit: 10b6745d313c6e8f3523306d3d415c57c9039c5d
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2023-03-17T01:44:12Z
Releases: 16.0
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@sss.pgh.pa.us>
Discussion: https://postgr.es/m/4040668.1679013388%40sss.pgh.pa.us

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +0 −5

Discussion

Cited messages not in the archive: 4040668.1679013388@sss.pgh.pa.us