If connection-spec is a string then it should be in the format specified by
www.postgresql.org/docs/7.4/static/libpq.html#LIBPQ-CONNECT
For example,
dbname=test user=scott password=tiger host=scandium