Code cleanup for InitProcGlobal.
authorRobert Haas <rhaas@postgresql.org>
Sun, 12 Jun 2011 04:07:04 +0000 (00:07 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 1 Jun 2012 12:24:08 +0000 (08:24 -0400)
commit43b028cba1c3077a03e31b6c969fb4bbed19030a
tree2477fb99636c156ec9ab9bb9e38aa9f5adf16e70
parent8db2e820c96a0ce33d3c15f476aa78bebce2c732
Code cleanup for InitProcGlobal.

The old code creates three separate arrays when only one is needed,
using two different shmem allocation functions for no obvious reason.
It also strangely splits up the initialization of AuxilaryProcs
between the top and bottom of the function to no evident purpose.

Review by Tom Lane.
src/backend/storage/lmgr/proc.c