forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1deb6e7
committed
Fix PQsetdbLogin() backward compatibility problem.
If pghost == "" and pgport == "" then PQsetdbLogin() fails with aerror 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. Thisis the same behavior as the version prior 7.1.1 parent317215f commit1deb6e7
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
441 |
| - | |
| 441 | + | |
442 | 442 |
| |
443 | 443 |
| |
444 | 444 |
| |
|
0 commit comments
Comments
(0)