- Notifications
You must be signed in to change notification settings - Fork5
Commit77035fa
committed
Fix bugs in PQhost().
In the platform that doesn't support Unix-domain socket, whenneither host nor hostaddr are specified, the default host'localhost' is used to connect to the server and PQhost() mustreturn that, but it didn't. This patch fixes PQhost() so thatit returns the default host in that case.Also this patch fixes PQhost() so that it doesn't returnUnix-domain socket directory path in the platform that doesn'tsupport Unix-domain socket.Back-patch to all supported versions.1 parent90afc7d commit77035fa
1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5188 | 5188 |
| |
5189 | 5189 |
| |
5190 | 5190 |
| |
5191 |
| - | |
| 5191 | + | |
| 5192 | + | |
| 5193 | + | |
| 5194 | + | |
| 5195 | + | |
| 5196 | + | |
| 5197 | + | |
| 5198 | + | |
| 5199 | + | |
| 5200 | + | |
5192 | 5201 |
| |
5193 | 5202 |
| |
5194 | 5203 |
| |
|
0 commit comments
Comments
(0)