pgsql: Process shared_preload_libraries in single-user mode.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема pgsql: Process shared_preload_libraries in single-user mode.
Дата
Msg-id E1oEDKO-000SAY-DK@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Process shared_preload_libraries in single-user mode.

Without processing shared_preload_libraries, it's impossible to
recover if custom WAL resource managers are needed. It may also pose a
problem running VACUUM on a table with a custom AM, if the module
implementing the AM is expecting to be loaded by
shared_preload_libraries.

The reason this wasn't done before was just the general principle to
do fewer things in single-user mode. But it's easy enough to just set
shared_preload_libraries to empty, for the same effect.

Discussion: https://postgr.es/m/9decc18a42634f8a2f15c97a385a0f51a752f396.camel%40j-davis.com
Reviewed-by: Tom Lane, Andres Freund
Backpatch-through: 15

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2103266a360df688062c4188f1de074b957fd6e9

Modified Files
--------------
src/backend/tcop/postgres.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: pgsql: Process shared_preload_libraries in single-user mode.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Dump more fields when dumping planner internal data structures.