class PG::Connection

def self.connect_hash_to_string( hash )

Values are properly quoted and escaped.

Convert Hash options to connection String
def self.connect_hash_to_string( hash )
	hash.map { |k,v| "#{k}=#{quote_connstr(v)}" }.join( ' ' )
end