Load libraries

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:

  1. Select your Azure Database for PostgreSQL flexible server.

  2. From the resource menu, under Settings section, select Server parameters.

  3. Include the libraries that you want to add in the value of shared_preload_libraries.

  4. Select Save.

  5. Because shared_preload_libraries is a static server parameter, it requires a server restart so that the changes take effect.

    Screenshot of Server parameters page, showing the dialog from which you can save changes and restart.