anchor.diff:  		}
   
   		textElementWriter.Reset()
  -		err = elem.EncodeText(textElementWriter)
  -		if err != nil {
  -			return err
  +		if elem.String == "" && elem.Status == Present {
  +			_, err := io.WriteString(buf, `""`)
  +			if err != nil {
  +				return err
  +			}
  +		} else {
  +			err = elem.EncodeText(textElementWriter)
  +			if err != nil {
  +				return err
  +			}
   		}
   
   		for _, dec := range dimElemCounts {
  
positive.code: }
  
  func (src *<%= pgtype_array_type %>) EncodeBinary(w io.Writer) error {
  	if done, err := encodeNotPresent(w, src.Status); done {
  		return err
  	}
  
negative.code: 		}
  	}
  
  	arrayHeader.ElementOID = elementOID
  	arrayHeader.Dimensions = src.Dimensions
  
  	// TODO - consider how to avoid having to buffer array before writing length -
  