pgsql: Code cleanup for InitProcGlobal.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Code cleanup for InitProcGlobal.
Дата
Msg-id E1QVbzV-0000bF-BL@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Tab completion improvements for COMMENT.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Corrections to ALTER FOREIGN TABLE documentation.