anchor.diff:  		}
   	}
   
  -	arrayHeader.ElementOID = <%= element_oid %>
  +	arrayHeader.ElementOID = elementOID
   	arrayHeader.Dimensions = src.Dimensions
   
   	// TODO - consider how to avoid having to buffer array before writing length -
  
positive.code: }
  
  func (src *<%= pgtype_array_type %>) EncodeBinary(w io.Writer) error {
  	if done, err := encodeNotPresent(w, src.Status); done {
  		return err
  	}
  
negative.code: 		}
  
  		textElementWriter.Reset()
  		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 {
  