postgresql/src/backend
Jeff Davis 2103266a36 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
2022-07-20 09:37:00 -07:00
..
access Fix assertion failure and segmentation fault in backup code. 2022-07-20 09:57:07 +09:00
bootstrap Be more careful about GucSource for internally-driven GUC settings. 2022-06-08 13:26:18 -04:00
catalog Fix omissions in support for the "regcollation" type. 2022-07-17 17:43:28 -04:00
commands Tweak detail and hint messages to be consistent with project policy 2022-07-20 09:50:57 +09:00
executor Add another SQL/JSON error code 2022-07-18 14:27:53 +02:00
foreign Create routine able to set single-call SRFs for Materialize mode 2022-03-07 10:26:29 +09:00
jit Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
lib Fix lock assertions in dshash.c. 2022-07-11 16:01:22 +12:00
libpq Remove misguided SSL key file ownership check in libpq. 2022-05-26 14:14:05 -04:00
main Fix collection of typos in the code and the documentation 2022-03-15 11:29:35 +09:00
nodes Tidy up code in get_cheapest_group_keys_order() 2022-07-13 14:03:24 +12:00
optimizer Tidy up code in get_cheapest_group_keys_order() 2022-07-13 14:03:24 +12:00
parser Tweak detail and hint messages to be consistent with project policy 2022-07-20 09:50:57 +09:00
partitioning Small cleanup of create_list_bounds() 2022-07-13 17:01:39 +12:00
po Translation updates 2022-06-27 08:19:02 +02:00
port Ensure that the argument of shmdt(2) is declared "void *". 2022-02-15 17:17:28 -05:00
postmaster Use STDOUT/STDERR_FILENO in most of syslogger. 2022-07-18 17:22:36 -07:00
regex Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
replication Prevent BASE_BACKUP in the middle of another backup in the same session. 2022-07-20 09:56:52 +09:00
rewrite Fix incautious CTE matching in rewriteSearchAndCycle(). 2022-04-23 12:16:12 -04:00
snowball Update copyright for 2022 2022-01-07 19:04:57 -05:00
statistics Invent qsort_interruptible(). 2022-07-12 16:30:36 -04:00
storage Make dsm_impl_posix_resize more future-proof. 2022-07-16 12:23:03 +12:00
tcop Process shared_preload_libraries in single-user mode. 2022-07-20 09:37:00 -07:00
tsearch Invent qsort_interruptible(). 2022-07-12 16:30:36 -04:00
utils Tweak detail and hint messages to be consistent with project policy 2022-07-20 09:50:57 +09:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Server-side gzip compression. 2022-01-24 15:13:18 -05:00
nls.mk Report progress of startup operations that take a long time. 2021-10-25 11:51:57 -04:00