Checking for available extensions

PostgreSQL offers various views so that we can figure out which extensions are on the system and which ones are actually deployed. One of those views is pg_available_extensions:

test=# \d pg_available_extensions          View "pg_catalog.pg_available_extensions"    Column        | Type  | Collation | Nullable | Default ------------------+-------+-----------+----------+--------- name              | name |           |          |  default_version   | text |           |          |  installed_version | text | C         |          |  comment           | text |           |          | 

This contains a list of all of the extensions that are available, including their names, their default version, and the version that's currently installed. To make this easier for the end user, there is also a description available, telling us more ...

Get Mastering PostgreSQL 12 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.