Closed xenoterracide closed 3 years ago
It uses all the same interfaces as psql
, and leaves authentication up to that client.
sure, I figured it out but maybe it would be nice to have the section that mentioned this explicitly reference PG_PASSWORD? so that it's easier to find, as it's basically a 1 line documentation change.
I guess I'm just looking for the documentation to say "password" somewhere, because it took me an hour to figure this out. I'm completely new to pgtap, and am spinning back up on postgres from not having used it, mostly, for 10 years. So this is really a request for, make it easier for newbies.
That's a fair request.
https://pgtap.org/documentation.html the only references to a password has nothing to do with a db password, I don't see it in
pg_prove --help
either. I personally would prefer either an environment variable or a cli --password (I know this is insecure, but in CI I don't really care because I'm connecting to an ephemeral database)