From b15848b6902a035bf4913fff468f363bfd0c94e0 Mon Sep 17 00:00:00 2001 From: Thomas Segismont Date: Wed, 7 Jan 2026 17:20:02 +0100 Subject: [PATCH] PgChannel fetch throws UnsupportedOperationException See #1403 Instead, fetch may call resume Signed-off-by: Thomas Segismont --- .../java/io/vertx/pgclient/impl/pubsub/PgSubscriberImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vertx-pg-client/src/main/java/io/vertx/pgclient/impl/pubsub/PgSubscriberImpl.java b/vertx-pg-client/src/main/java/io/vertx/pgclient/impl/pubsub/PgSubscriberImpl.java index e3f449a82d..a3e7d5e251 100644 --- a/vertx-pg-client/src/main/java/io/vertx/pgclient/impl/pubsub/PgSubscriberImpl.java +++ b/vertx-pg-client/src/main/java/io/vertx/pgclient/impl/pubsub/PgSubscriberImpl.java @@ -327,9 +327,9 @@ public ChannelImpl resume() { return this; } - // Since Vert.x 3.6.0 : todo + @Override public ReadStream fetch(long amount) { - throw new UnsupportedOperationException(); + return resume(); } }