diff -u b/core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php b/core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php --- b/core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php +++ b/core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php @@ -298,10 +298,10 @@ } $connection->query('SELECT pg_advisory_unlock(1)'); - // @todo Remove this if-statement in Drupal 11 when the minimum required - // version for PostgreSQL becomes 13 or higher. - // If we are running PostgreSQL >= 13, enable the pg_trgm extension. - if (version_compare($connection->version(), '13.0.0', '>=')) { + // Enable pg_trgm for PostgreSQL 13 or higher. + // @todo Remove this if-statement in D11 when the minimum required version + // for PostgreSQL becomes 13 or higher. https://www.drupal.org/i/3357409 + if (version_compare($connection->version(), '13.0', '>=')) { $connection->query('CREATE EXTENSION IF NOT EXISTS pg_trgm'); }