mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Fix encode ErrorResponse
fixes https://github.com/jackc/pgx/issues/1371
This commit is contained in:
parent
a968ce3437
commit
a86acf61e0
@ -215,7 +215,6 @@ func (src *ErrorResponse) marshalBinary(typeByte byte) []byte {
|
||||
|
||||
for k, v := range src.UnknownFields {
|
||||
buf.WriteByte(k)
|
||||
buf.WriteByte(0)
|
||||
buf.WriteString(v)
|
||||
buf.WriteByte(0)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user