forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9a89546
committed
Enhance pg_stat_wal_receiver view to display host and port of sender server.
Previously there was no way in the standby side to find out the host and portof the sender server that the walreceiver was currently connected to whenmultiple hosts and ports were specified in primary_conninfo. For that purpose,this patch adds sender_host and sender_port columns into pg_stat_wal_receiverview. They report the host and port that the active replication connectioncurrently uses.Bump catalog version.Author: Haribabu KommiReviewed-by: Michael Paquier and meDiscussion:https://postgr.es/m/CAJrrPGcV_aq8=cdqkFhVDJKEnDQ70yRTTdY9RODzMnXNrCz2Ow@mail.gmail.com1 parent11002f8 commit9a89546
File tree
8 files changed
+94
-6
lines changed- doc/src/sgml
- src
- backend
- catalog
- replication
- libpqwalreceiver
- include
- catalog
- replication
- test/regress/expected
8 files changed
+94
-6
lines changedLines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2031 | 2031 |
| |
2032 | 2032 |
| |
2033 | 2033 |
| |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
2034 | 2053 |
| |
2035 | 2054 |
| |
2036 | 2055 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
752 | 752 |
| |
753 | 753 |
| |
754 | 754 |
| |
| 755 | + | |
| 756 | + | |
755 | 757 |
| |
756 | 758 |
| |
757 | 759 |
| |
|
Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| 56 | + | |
| 57 | + | |
56 | 58 |
| |
57 | 59 |
| |
58 | 60 |
| |
| |||
82 | 84 |
| |
83 | 85 |
| |
84 | 86 |
| |
| 87 | + | |
85 | 88 |
| |
86 | 89 |
| |
87 | 90 |
| |
| |||
282 | 285 |
| |
283 | 286 |
| |
284 | 287 |
| |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
285 | 311 |
| |
286 | 312 |
| |
287 | 313 |
| |
|
Lines changed: 29 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
| 55 | + | |
55 | 56 |
| |
56 | 57 |
| |
57 | 58 |
| |
| |||
199 | 200 |
| |
200 | 201 |
| |
201 | 202 |
| |
| 203 | + | |
| 204 | + | |
202 | 205 |
| |
203 | 206 |
| |
204 | 207 |
| |
| |||
308 | 311 |
| |
309 | 312 |
| |
310 | 313 |
| |
311 |
| - | |
| 314 | + | |
| 315 | + | |
312 | 316 |
| |
313 | 317 |
| |
| 318 | + | |
314 | 319 |
| |
315 | 320 |
| |
316 | 321 |
| |
317 | 322 |
| |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
318 | 329 |
| |
319 | 330 |
| |
320 | 331 |
| |
321 | 332 |
| |
322 | 333 |
| |
323 | 334 |
| |
| 335 | + | |
| 336 | + | |
| 337 | + | |
324 | 338 |
| |
325 | 339 |
| |
326 | 340 |
| |
| |||
1402 | 1416 |
| |
1403 | 1417 |
| |
1404 | 1418 |
| |
| 1419 | + | |
| 1420 | + | |
1405 | 1421 |
| |
1406 | 1422 |
| |
1407 | 1423 |
| |
| |||
1419 | 1435 |
| |
1420 | 1436 |
| |
1421 | 1437 |
| |
| 1438 | + | |
| 1439 | + | |
1422 | 1440 |
| |
1423 | 1441 |
| |
1424 | 1442 |
| |
| |||
1482 | 1500 |
| |
1483 | 1501 |
| |
1484 | 1502 |
| |
1485 |
| - | |
| 1503 | + | |
1486 | 1504 |
| |
1487 | 1505 |
| |
1488 |
| - | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
1489 | 1515 |
| |
1490 | 1516 |
| |
1491 | 1517 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2919 | 2919 |
| |
2920 | 2920 |
| |
2921 | 2921 |
| |
2922 |
| - | |
| 2922 | + | |
2923 | 2923 |
| |
2924 | 2924 |
| |
2925 | 2925 |
| |
|
Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 |
| |
112 | 119 |
| |
113 | 120 |
| |
| |||
197 | 204 |
| |
198 | 205 |
| |
199 | 206 |
| |
| 207 | + | |
| 208 | + | |
| 209 | + | |
200 | 210 |
| |
201 | 211 |
| |
202 | 212 |
| |
| |||
227 | 237 |
| |
228 | 238 |
| |
229 | 239 |
| |
| 240 | + | |
230 | 241 |
| |
231 | 242 |
| |
232 | 243 |
| |
| |||
246 | 257 |
| |
247 | 258 |
| |
248 | 259 |
| |
| 260 | + | |
| 261 | + | |
249 | 262 |
| |
250 | 263 |
| |
251 | 264 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1972 | 1972 |
| |
1973 | 1973 |
| |
1974 | 1974 |
| |
| 1975 | + | |
| 1976 | + | |
1975 | 1977 |
| |
1976 |
| - | |
| 1978 | + | |
1977 | 1979 |
| |
1978 | 1980 |
| |
1979 | 1981 |
| |
|
0 commit comments
Comments
(0)