anchor.diff:  }
   <% end %>
   
  -<% if binary_format == "true" %>
  +<% if encode_binary == "true" %>
   	func (src <%= pgtype_array_type %>) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
   		switch src.Status {
   		case Null:
  
positive.code:   text_format ||= "true"
  
    text_null ||= "NULL"
  %>
  
  package pgtype
  
negative.code: }
  <% end %>
  
  <% if decode_binary == "true" %>
  func (dst *<%= pgtype_array_type %>) DecodeBinary(ci *ConnInfo, src []byte) error {
  	if src == nil {
  		*dst = <%= pgtype_array_type %>{Status: Null}
  