Skip to content

Commit 6a8b111

Browse files
committed
Fix compatibility with Postgres 11.
[resolves #657]
1 parent 11ccd0a commit 6a8b111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/r2dbc/postgresql/codec/BuiltinDynamicCodecs.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public Publisher<Void> register(PostgresqlConnection connection, ByteBufAllocato
119119
}
120120

121121
private PostgresqlStatement createQuery(PostgresqlConnection connection) {
122-
return connection.createStatement(String.format("SELECT * FROM pg_catalog.pg_type WHERE typname IN (%s)", getPlaceholders()));
122+
return connection.createStatement(String.format("SELECT oid, * FROM pg_catalog.pg_type WHERE typname IN (%s)", getPlaceholders()));
123123
}
124124

125125
private static String getPlaceholders() {

0 commit comments

Comments
 (0)