Skip to content

Commit

Permalink
Fix compatibility with Postgres 11.
Browse files Browse the repository at this point in the history
[resolves #657]
  • Loading branch information
mp911de committed Oct 2, 2024
1 parent f91c263 commit 5879aef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public Publisher<Void> register(PostgresqlConnection connection, ByteBufAllocato
}

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

private static String getPlaceholders() {
Expand Down

0 comments on commit 5879aef

Please sign in to comment.