mirror of
https://github.com/postgres/postgres.git
synced 2026-02-16 09:08:23 -05:00
If pghost == "" and pgport == "" then PQsetdbLogin() fails with a
error message:
Is the postmaster running locally
and accepting connections on Unix socket '/tmp/.s.PGSQL.0'?
I see many applications such as PHP fails due to this behavior.
Now if pgport == "", then it is assumed to be a DEF_PGPORT_STR. This
is the same behavior as the version prior 7.1.
|
||
|---|---|---|
| .. | ||
| cli | ||
| ecpg | ||
| jdbc | ||
| libpgeasy | ||
| libpgtcl | ||
| libpq | ||
| libpq++ | ||
| odbc | ||
| perl5 | ||
| python | ||
| Makefile | ||