你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
APPLIES TO:
Azure Database for PostgreSQL - Flexible Server
shared_preload_libraries
is a server configuration parameter that determines which libraries have to be loaded when Azure Database for PostgreSQL flexible server starts. Any libraries that use shared memory must be loaded via this parameter. If your extension needs to be added to the shared preload libraries, follow these steps:
Steps to load libraries
Using the Azure portal:
Select your Azure Database for PostgreSQL flexible server.
From the resource menu, under Settings section, select Server parameters.
Include the libraries that you want to add in the value of
shared_preload_libraries
.Select Save.
Because
shared_preload_libraries
is a static server parameter, it requires a server restart so that the changes take effect.