[COMMITTERS] pgsql: Perform only one ReadControlFile() during startup.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup.
Дата
Msg-id E1dsbXB-0006pK-EE@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Perform only one ReadControlFile() during startup.

Previously we read the control file in multiple places. But soon the
segment size will be configurable and stored in the control file, and
that needs to be available earlier than it currently is needed.

Instead of adding yet another place where it's read, refactor things
so there's a single processing of the control file during startup (in
EXEC_BACKEND that's every individual backend's startup).

Author: Andres Freund
Discussion: http://postgr.es/m/20170913092828.aozd3gvvmw67gmyc@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8356753c212a5865469c9befc4cf1e637a9d8bbc

Modified Files
--------------
src/backend/access/transam/xlog.c   | 48 ++++++++++++++++++++++++++-----------
src/backend/postmaster/postmaster.c |  6 +++++
src/backend/tcop/postgres.c         |  3 +++
src/include/access/xlog.h           |  1 +
4 files changed, 44 insertions(+), 14 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Expand partitioned table RTEs level by level,without flattening
Следующее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Add missing tags to GetCommandLogLevel.