select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

FUNCTIONS / SYSTEM INFORMATION FUNCTIONS AND OPERATORS

pg_get_loaded_modules

Read PG 18 manual ↗

Returns a list of the loadable modules that are loaded into the current server session.

Signatures & examples

pg_get_loaded_modules () → setof record ( module_name text, version text, file_name text )
Returns a list of the loadable modules that are loaded into the current server session. The module_name and version fields are NULL unless the module author supplied values for them using the PG_MODULE_MAGIC_EXT macro. The file_name field gives the file name of the module (shared library).
Version history 1
  1. PG 17 → 18added

Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source