Query goal: | Try to use as much the possibilities of the DBMS as possible. On the other hand, do not install extensions that are not needed in order not to overcomplicate the database. |
Query type: | General (Overview of some aspect of the database.) |
Query license: | MIT License |
Fixing suggestion: | If you do not need an extension, then drop it. |
Data source: | system catalog only |
SQL query: | Click on query to copy it
SELECT name, installed_version, comment FROM pg_catalog.pg_available_extensions WHERE installed_version IS NOT NULL ORDER BY name; |
SQL query | Description |
---|---|
SELECT format('DROP EXTENSION %1$I;', name) AS statements FROM pg_catalog.pg_available_extensions WHERE installed_version IS NOT NULL ORDER BY name; | Drop the extension. |
Collection name | Collection description |
---|---|
Find problems by overview | Queries that results point to different aspects of database that might have problems. A human reviewer has to decide based on the results as to whether there are problems or not . |
Category name | Category description |
---|---|
Comfortability of data management | Queries of this category provide information about the means that have been used to make the use or management of database more comfortable and thus, more efficient. |
Extensions | Queries of this category provide information about extensions in the database. |
Security | Queries of this category provide information about the security measures. |
Reference |
---|
There are quite a lot of extensions that are shipped together with the PostgreSQL source code. |
Anyone can create an extension and there are many examples: https://pgxn.org/ |