forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitab93cd9
committed
When we're restricting who can connect, don't allow new walsenders.
Normal superuser processes are allowed to connect even when the databasesystem is shutting down, or when fewer than superuser_reserved_connectionslots remain. This is intended to make sure an administrator can log inand troubleshoot, so don't extend these same courtesies to users connectingfor replication.1 parent22da731 commitab93cd9
2 files changed
+35
-23
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
401 | 401 |
| |
402 | 402 |
| |
403 | 403 |
| |
404 |
| - | |
| 404 | + | |
| 405 | + | |
405 | 406 |
| |
406 | 407 |
| |
407 | 408 |
| |
|
Lines changed: 32 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
617 | 617 |
| |
618 | 618 |
| |
619 | 619 |
| |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
620 | 651 |
| |
621 | 652 |
| |
622 | 653 |
| |
| |||
778 | 809 |
| |
779 | 810 |
| |
780 | 811 |
| |
781 |
| - | |
782 |
| - | |
783 |
| - | |
784 |
| - | |
785 |
| - | |
786 |
| - | |
787 |
| - | |
788 |
| - | |
789 |
| - | |
790 |
| - | |
791 |
| - | |
792 |
| - | |
793 |
| - | |
794 |
| - | |
795 |
| - | |
796 |
| - | |
797 |
| - | |
798 |
| - | |
799 |
| - | |
800 |
| - | |
801 | 812 |
| |
802 | 813 |
| |
803 | 814 |
| |
|
0 commit comments
Comments
(0)