gitlab - News Dashboard

PostgreSQL Extensions

Posted: 2026-06-17 by Horst Prote
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;"

More... (Archive)