pgsql: Code cleanup for InitProcGlobal. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Code cleanup for InitProcGlobal.
Date
Msg-id E1QVbzV-0000bF-BL@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/47ebcecc3ef862c6ad961539638123af63407ac9

Modified Files
--------------
src/backend/storage/lmgr/proc.c |   79 ++++++++++++++++++---------------------
1 files changed, 36 insertions(+), 43 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Tab completion improvements for COMMENT.
Next
From: Robert Haas
Date:
Subject: pgsql: Corrections to ALTER FOREIGN TABLE documentation.