forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6cb229d
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 parentd747c6d commit6cb229d
2 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2518 | 2518 | | |
2519 | 2519 | | |
2520 | 2520 | | |
2521 | | - | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
2522 | 2526 | | |
2523 | 2527 | | |
2524 | 2528 | | |
| |||
2531 | 2535 | | |
2532 | 2536 | | |
2533 | 2537 | | |
2534 | | - | |
2535 | | - | |
2536 | | - | |
2537 | 2538 | | |
2538 | 2539 | | |
2539 | 2540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
727 | | - | |
| 727 | + | |
| 728 | + | |
728 | 729 | | |
729 | 730 | | |
730 | 731 | | |
| |||
0 commit comments
Comments
(0)