forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit26ebb0e
committed
List offending databases in pg_upgrade datallowconn check
The check for datallowconn being properly set on all databases in theold cluster errored out on the first instance, rather than report theset of problematic databases. This adds reporting to a textfile likehow many other checks are performed. While there, also add a commentto the function as per how other checks are commented.This check won't catch if template1 isn't allowing connections, sincethat's used for connecting in the first place. That error remains asit is today:connection to server on socket ".." failed: FATAL: database "template1" is not currently accepting connectionsAuthor: Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>Reviewed-by: Suraj Kharage <suraj.kharage@enterprisedb.com>Reviewed-by: Justin Pryzby <pryzby@telsasoft.com>Discussion:https://postgr.es/m/CAOgcT0McABqF_iFFQuuRf9is+gmYMsmUu_SWNikyr=2VGyP9Jw@mail.gmail.com1 parentce95c54 commit26ebb0e
1 file changed
+38
-3
lines changedLines changed: 38 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
682 | 682 |
| |
683 | 683 |
| |
684 | 684 |
| |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
685 | 692 |
| |
686 | 693 |
| |
687 | 694 |
| |
| |||
691 | 698 |
| |
692 | 699 |
| |
693 | 700 |
| |
| 701 | + | |
| 702 | + | |
| 703 | + | |
694 | 704 |
| |
695 | 705 |
| |
696 | 706 |
| |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
697 | 711 |
| |
698 | 712 |
| |
699 | 713 |
| |
| |||
724 | 738 |
| |
725 | 739 |
| |
726 | 740 |
| |
727 |
| - | |
728 |
| - | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
729 | 749 |
| |
730 | 750 |
| |
731 | 751 |
| |
732 | 752 |
| |
733 | 753 |
| |
734 | 754 |
| |
735 | 755 |
| |
736 |
| - | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
737 | 772 |
| |
738 | 773 |
| |
739 | 774 |
| |
|
0 commit comments
Comments
(0)