Using psql how do I list extensions installed in a database?

ARV picture ARV · Feb 15, 2014 · Viewed 137.8k times · Source

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

See also

Answer

a_horse_with_no_name picture a_horse_with_no_name · Feb 15, 2014

In psql that would be

\dx

See the manual for details: http://www.postgresql.org/docs/current/static/app-psql.html

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

SELECT * 
FROM pg_extension

http://www.postgresql.org/docs/current/static/catalog-pg-extension.html