pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Process shared_preload_libraries in single-user mode.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Process shared_preload_libraries in single-user mode.
@ 2022-07-20 17:17 Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Davis @ 2022-07-20 17:17 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6c31ac091f31171601ee00972e131d8683e7b828

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Process shared_preload_libraries in single-user mode.
@ 2022-07-20 17:17 Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Davis @ 2022-07-20 17:17 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-07-20 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-07-20 17:17 pgsql: Process shared_preload_libraries in single-user mode. Jeff Davis <jdavis@postgresql.org>
2022-07-20 17:17 pgsql: Process shared_preload_libraries in single-user mode. Jeff Davis <jdavis@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox