Issue #3119170 by tstoeckler, daffie: Optimize pgsql/Schema::findPrimaryKeyColumns() for Postgres >= 9.6 (cherry picked from commit e5b0277a)