forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6d9fa52
committed
pg_receivewal: Add --endpos option
This is primarily useful for making tests of this utility moredeterministic, to avoid the complexity of starting pg_receivewal as adeamon in TAP tests.While this is less useful than the equivalent pg_recvlogical option,users can as well use it for example to enforce WAL streaming up to aend-of-backup position, to save only a minimal amount of WAL.Use this new option to stream WAL data in a deterministic way within anew set of TAP tests.Author: Michael Paquier <michael.paquier@gmail.com>1 parentc1898c3 commit6d9fa52
File tree
3 files changed
+91
-8
lines changed- doc/src/sgml/ref
- src/bin/pg_basebackup
- t
3 files changed
+91
-8
lines changedLines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
101 | 117 |
| |
102 | 118 |
| |
103 | 119 |
| |
|
Lines changed: 31 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
| |||
77 | 78 |
| |
78 | 79 |
| |
79 | 80 |
| |
| 81 | + | |
80 | 82 |
| |
81 | 83 |
| |
82 | 84 |
| |
| |||
112 | 114 |
| |
113 | 115 |
| |
114 | 116 |
| |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
115 | 127 |
| |
116 | 128 |
| |
117 | 129 |
| |
| |||
128 | 140 |
| |
129 | 141 |
| |
130 | 142 |
| |
131 |
| - | |
| 143 | + | |
132 | 144 |
| |
133 | 145 |
| |
134 | 146 |
| |
| |||
448 | 460 |
| |
449 | 461 |
| |
450 | 462 |
| |
451 |
| - | |
| 463 | + | |
452 | 464 |
| |
453 | 465 |
| |
454 | 466 |
| |
| |||
460 | 472 |
| |
461 | 473 |
| |
462 | 474 |
| |
| 475 | + | |
463 | 476 |
| |
464 | 477 |
| |
465 | 478 |
| |
| |||
481 | 494 |
| |
482 | 495 |
| |
483 | 496 |
| |
| 497 | + | |
484 | 498 |
| |
485 | 499 |
| |
486 | 500 |
| |
| |||
500 | 514 |
| |
501 | 515 |
| |
502 | 516 |
| |
503 |
| - | |
| 517 | + | |
504 | 518 |
| |
505 | 519 |
| |
506 | 520 |
| |
| |||
544 | 558 |
| |
545 | 559 |
| |
546 | 560 |
| |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
547 | 571 |
| |
548 | 572 |
| |
549 | 573 |
| |
| |||
714 | 738 |
| |
715 | 739 |
| |
716 | 740 |
| |
717 |
| - | |
| 741 | + | |
718 | 742 |
| |
719 | 743 |
| |
720 |
| - | |
721 |
| - | |
| 744 | + | |
| 745 | + | |
722 | 746 |
| |
723 | 747 |
| |
724 | 748 |
| |
|
Lines changed: 44 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + |
0 commit comments
Comments
(0)