From 0a966bd767245b68ead550ac05ea22b20b883f6e Mon Sep 17 00:00:00 2001 From: Iceman Date: Thu, 18 Dec 2025 14:04:52 +0900 Subject: [PATCH] Use name defined in protocol --- Sources/PostgresNIO/Pool/PostgresClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/PostgresNIO/Pool/PostgresClient.swift b/Sources/PostgresNIO/Pool/PostgresClient.swift index 581b5113..bf074cc9 100644 --- a/Sources/PostgresNIO/Pool/PostgresClient.swift +++ b/Sources/PostgresNIO/Pool/PostgresClient.swift @@ -422,7 +422,7 @@ public final class PostgresClient: Sendable, ServiceLifecycle.Service { let promise = connection.channel.eventLoop.makePromise(of: PSQLRowStream.self) let task = HandlerTask.executePreparedStatement(.init( - name: String(reflecting: Statement.self), + name: Statement.name, sql: Statement.sql, bindings: bindings, bindingDataTypes: Statement.bindingDataTypes,