Postgresql – Using psql how to list extensions installed in a database

postgresqlpostgresql-extensionspsql

How do I list all extensions that are already installed in a database or schema from psql?

See also

Best Answer

In psql that would be

\dx

See the manual of psql for details.

Doing it in plain SQL it would be a select on pg_extension:

SELECT * 
FROM pg_extension;