File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -594,7 +594,7 @@ final class PostgresChannelHandler: ChannelDuplexHandler {
594
594
private func makeStartListeningQuery( channel: String , context: ChannelHandlerContext ) -> PSQLTask {
595
595
let promise = context. eventLoop. makePromise ( of: PSQLRowStream . self)
596
596
let query = ExtendedQueryContext (
597
- query: PostgresQuery ( unsafeSQL: " LISTEN \( channel) ; " ) ,
597
+ query: PostgresQuery ( unsafeSQL: " LISTEN \" \ ( channel) \" ; " ) ,
598
598
logger: self . logger,
599
599
promise: promise
600
600
)
@@ -642,7 +642,7 @@ final class PostgresChannelHandler: ChannelDuplexHandler {
642
642
private func makeUnlistenQuery( channel: String , context: ChannelHandlerContext ) -> PSQLTask {
643
643
let promise = context. eventLoop. makePromise ( of: PSQLRowStream . self)
644
644
let query = ExtendedQueryContext (
645
- query: PostgresQuery ( unsafeSQL: " UNLISTEN \( channel) ; " ) ,
645
+ query: PostgresQuery ( unsafeSQL: " UNLISTEN \" \ ( channel) \" ; " ) ,
646
646
logger: self . logger,
647
647
promise: promise
648
648
)
You can’t perform that action at this time.
0 commit comments