PostgreSQL Extensions

Posted: 2026-06-17 in gitlab by Horst Prote | Revision: 1
Format:
2.0
Display if installed:
www-apps/gitlab
Starting with version 19.1.0 GitLab recommends the pg_stat_statements PG extension. To list the current PG extensions run as the PG admin user:
psql -d <your GitLab DB> -c "\dx"
To create the extension do:
psql -d <gitlab DB> -c "CREATE EXTENSION IF NOT EXISTS pg_stat_statements;"