From a7100cdd986073b888aa600b880aa1ace29d1bfc Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Mon, 29 Jan 2024 14:45:59 -0500 Subject: [PATCH] gh-631 - Do not require typarray column when auto-registering extensions. --- .../java/io/r2dbc/postgresql/codec/BuiltinDynamicCodecs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/r2dbc/postgresql/codec/BuiltinDynamicCodecs.java b/src/main/java/io/r2dbc/postgresql/codec/BuiltinDynamicCodecs.java index 80131c8b..4b12c177 100644 --- a/src/main/java/io/r2dbc/postgresql/codec/BuiltinDynamicCodecs.java +++ b/src/main/java/io/r2dbc/postgresql/codec/BuiltinDynamicCodecs.java @@ -119,7 +119,7 @@ public Publisher 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() {