Fix encode ErrorResponse
fixes https://github.com/jackc/pgx/issues/1371
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user