c = dbapi20.connect(unix='/var/run/postgresql/.s.PGSQL.5432', database='msgid-test')
tells me that "host" and "unix" conflict. But I didn't give a "host" at all.
Additionally: it should be possible to connect to the default location for the unix socket
Additionally: the parameters to connect() are database specific according to the DB-API PEP, but connect() doesn't even have a docstring. Yes, it is "obvious" that connect() internally uses the same stuff as the PQ-API connect methods. Except that it's not obvious and (see above) the options are somehow modified before they're passed on.
(and yes, I want to use DB-API as far as I can.)
c = dbapi20.connect(unix='/var/run/postgresql/.s.PGSQL.5432', database='msgid-test')
tells me that "host" and "unix" conflict. But I didn't give a "host" at all.
Additionally: it should be possible to connect to the default location for the unix socket
Additionally: the parameters to connect() are database specific according to the DB-API PEP, but connect() doesn't even have a docstring. Yes, it is "obvious" that connect() internally uses the same stuff as the PQ-API connect methods. Except that it's not obvious and (see above) the options are somehow modified before they're passed on.
(and yes, I want to use DB-API as far as I can.)