We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5010f3 commit 3adaee5Copy full SHA for 3adaee5
Sources/PostgresNIO/Data/PostgresData+Int.swift
@@ -115,7 +115,7 @@ private extension PostgresData {
115
switch self.formatCode {
116
case .binary:
117
switch self.type {
118
- case .char, .bpchar:
+ case .char:
119
assert(value.readableBytes == 1)
120
guard let uint8 = value.getInteger(at: value.readerIndex, as: UInt8.self) else {
121
return nil
Tests/PostgresNIOTests/PostgresNIOTests.swift
@@ -986,7 +986,7 @@ final class PostgresNIOTests: XCTestCase {
986
defer { try! conn.close().wait() }
987
let rows = try conn.query("""
988
select
989
- $1::char as int
+ $1::"char" as int
990
""", [
991
.init(uint8: 5)
992
]).wait()
0 commit comments