Closed phdru closed 5 years ago
If user is None and host is None and unix_sock is not None assume user to be the current OS user as returned by getpass.getuser().
user
host
unix_sock
getpass.getuser()
We have had requests like this before, but pg8000 is deliberately a minimal implementation, and so we leave it to the user of the library to work out the user parameter.
If
user
is None andhost
is None andunix_sock
is not None assumeuser
to be the current OS user as returned bygetpass.getuser()
.