]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Small tidyup for commit d41a178b, part II.
authorThomas Munro <tmunro@postgresql.org>
Fri, 17 Mar 2023 01:44:12 +0000 (14:44 +1300)
committerThomas Munro <tmunro@postgresql.org>
Fri, 17 Mar 2023 01:47:16 +0000 (14:47 +1300)
commit77a8133c959b9b1facee5fb86755444fe84cd9ce
tree0c8059a63c91cfec886da803ea18e2480818e92d
parent51cb789aa42055ced51d6ba3312ec621133cdc86
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
src/backend/postmaster/postmaster.c