Skip to content

Commit cb1fa2b

Browse files
committed
Use name defined in protocol
1 parent 7383207 commit cb1fa2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PostgresNIO/Pool/PostgresClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public final class PostgresClient: Sendable, ServiceLifecycle.Service {
422422

423423
let promise = connection.channel.eventLoop.makePromise(of: PSQLRowStream.self)
424424
let task = HandlerTask.executePreparedStatement(.init(
425-
name: String(reflecting: Statement.self),
425+
name: Statement.name,
426426
sql: Statement.sql,
427427
bindings: bindings,
428428
bindingDataTypes: Statement.bindingDataTypes,

0 commit comments

Comments
 (0)