More like libpq

Prints the same warning as ligpq if there is a problem with the
password file. Those warnings can either be redirected, if you call
'something else'
Tests an coverage should be better too.