Skip to content

Commit

Permalink
pgjdbcgh-631 - Do not require typarray column when auto-registering e…
Browse files Browse the repository at this point in the history
…xtensions.
  • Loading branch information
Chris Hall committed Jan 29, 2024
1 parent df3bb50 commit a7100cd
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 oid, typname, typarray FROM pg_catalog.pg_type WHERE typname IN (%s)", getPlaceholders()));
return connection.createStatement(String.format("SELECT oid, typname, * FROM pg_catalog.pg_type WHERE typname IN (%s)", getPlaceholders()));
}

private static String getPlaceholders() {
Expand Down

0 comments on commit a7100cd

Please sign in to comment.