summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgproto3/v2/copy_both_response.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/jackc/pgproto3/v2/copy_both_response.go')
-rw-r--r--vendor/github.com/jackc/pgproto3/v2/copy_both_response.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/jackc/pgproto3/v2/copy_both_response.go b/vendor/github.com/jackc/pgproto3/v2/copy_both_response.go
index fbd985d86..4a1c3a07b 100644
--- a/vendor/github.com/jackc/pgproto3/v2/copy_both_response.go
+++ b/vendor/github.com/jackc/pgproto3/v2/copy_both_response.go
@@ -48,7 +48,7 @@ func (src *CopyBothResponse) Encode(dst []byte) []byte {
dst = append(dst, 'W')
sp := len(dst)
dst = pgio.AppendInt32(dst, -1)
-
+ dst = append(dst, src.OverallFormat)
dst = pgio.AppendUint16(dst, uint16(len(src.ColumnFormatCodes)))
for _, fc := range src.ColumnFormatCodes {
dst = pgio.AppendUint16(dst, fc)