Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite8a774d

Browse files
committed
Small tidyup for commitd41a178, part II.
Further to commit6a9229d, checking for NULL is now redundant. An "outof memory" error would have been thrown already by palloc() and treatedas 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
1 parentfb1132e commite8a774d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4840,11 +4840,6 @@ internal_forkexec(int argc, char *argv[], Port *port)
48404840
* freed by a later call to waitpid().
48414841
*/
48424842
childinfo=palloc(sizeof(win32_deadchild_waitinfo));
4843-
if (!childinfo)
4844-
ereport(FATAL,
4845-
(errcode(ERRCODE_OUT_OF_MEMORY),
4846-
errmsg("out of memory")));
4847-
48484843
childinfo->procHandle=pi.hProcess;
48494844
childinfo->procId=pi.dwProcessId;
48504845

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp