forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit682c5bb
committed
Fix bugs in manipulation of PgBackendStatus.st_clienthostname.
Initialization of this field was not being done according to thest_changecount protocol (it has to be done within the changecount incrementrange, not outside). And the test to see if the value should be reportedas null was wrong. Noted while perusing uses of Port.remote_hostname.This was wrong from the introduction of this code (commit4a25bc1),so back-patch to 9.1.1 parent8bbbcb9 commit682c5bb
2 files changed
+7
-5
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2581 | 2581 |
| |
2582 | 2582 |
| |
2583 | 2583 |
| |
2584 |
| - | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
2585 | 2589 |
| |
2586 | 2590 |
| |
2587 | 2591 |
| |
| |||
2594 | 2598 |
| |
2595 | 2599 |
| |
2596 | 2600 |
| |
2597 |
| - | |
2598 |
| - | |
2599 |
| - | |
2600 | 2601 |
| |
2601 | 2602 |
| |
2602 | 2603 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
760 | 760 |
| |
761 | 761 |
| |
762 | 762 |
| |
763 |
| - | |
| 763 | + | |
| 764 | + | |
764 | 765 |
| |
765 | 766 |
| |
766 | 767 |
| |
|
0 commit comments
Comments
(0)