class PG::CompositeCoder

def inspect

def inspect
	str = super
	str[-1,0] = " elements_type=#{elements_type.inspect} #{needs_quotation? ? 'needs' : 'no'} quotation#{dimensions && " #{dimensions} dimensions"}"
	str
end

def to_h

def to_h
	h = { **super,
		elements_type: elements_type,
		needs_quotation: needs_quotation?,
		delimiter: delimiter,
	}
	h[:dimensions] = dimensions if dimensions # Write only when set, for Marshal compat with pg<1.6
	h
end