2
0

Fix long standing text array text format null bug

This commit is contained in:
Jack Christensen
2019-04-13 14:06:01 -05:00
parent 7fbae064bb
commit ea65a92de9
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ func (src *TextArray) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
return nil, err
}
if elemBuf == nil {
buf = append(buf, `"NULL"`...)
buf = append(buf, `NULL`...)
} else {
buf = append(buf, QuoteArrayElementIfNeeded(string(elemBuf))...)
}