diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPool.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPool.java index 5c13a410984..1d81b1388fa 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPool.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPool.java @@ -1764,7 +1764,7 @@ private enum Position { Statement.newBuilder( "SELECT 'POSTGRESQL' AS DIALECT\n" + "FROM INFORMATION_SCHEMA.SCHEMATA\n" - + "WHERE SCHEMA_NAME='pg_catalog'\n" + + "WHERE SCHEMA_NAME='information_schema'\n" + "UNION ALL\n" + "SELECT 'GOOGLE_STANDARD_SQL' AS DIALECT\n" + "FROM INFORMATION_SCHEMA.SCHEMATA\n"