| From: | Robert Haas <rhaas(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Code cleanup for InitProcGlobal. |
| Date: | 2011-06-12 04:09:37 |
| Message-ID: | E1QVbzV-0000bF-BL@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2011-06-12 04:19:23 | pgsql: Corrections to ALTER FOREIGN TABLE documentation. |
| Previous Message | Robert Haas | 2011-06-12 03:53:04 | pgsql: Tab completion improvements for COMMENT. |