...o host is given, the local cluster matching that port number is used matching entry in ~/.postgresqlrc (see postgresqlrc (5)), if that file exists matching entry in /etc/postgre…