:return: A connection string valid for PostgreSQL, with the *kwargs*
parameters merged.
- Raise `~psycopg.ProgrammingError` if the input don't make a valid conninfo.
+ Raise `~psycopg.ProgrammingError` if the input doesn't make a valid
+ conninfo string.
.. __: https://www.postgresql.org/docs/current/libpq-connect.html
#LIBPQ-CONNSTRING
:return: Dictionary with the parameters parsed from *conninfo* and
*kwargs*.
- Raise ProgrammingError if the string is not valid.
+ Raise `~psycopg.ProgrammingError` if *conninfo* is not a a valid connection
+ string.
.. __: https://www.postgresql.org/docs/current/libpq-connect.html
#LIBPQ-CONNSTRING