forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb963913
committed
pg_createsubscriber: Remove replication slot check on primary
It used to check if the replication slot exists and is active onprimary. This check might fail on slow hosts because the replicationslot might not be active at the time of this check.The current code obtains the replication slot name from theprimary_slot_name on standby and assumes the replication slot existsand is active on primary. If it doesn't exist, this tool will log anerror and continue.Author: Euler Taveira <euler.taveira@enterprisedb.com>Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>Discussion:https://www.postgresql.org/message-id/776c5cac-5ef5-4001-b1bc-5b698bc0c62a%40app.fastmail.com1 parent04c8634 commitb963913
1 file changed
+1
-47
lines changedLines changed: 1 addition & 47 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
879 | 879 |
| |
880 | 880 |
| |
881 | 881 |
| |
882 |
| - | |
883 |
| - | |
884 |
| - | |
885 |
| - | |
886 |
| - | |
887 |
| - | |
888 |
| - | |
889 |
| - | |
890 |
| - | |
891 |
| - | |
892 |
| - | |
893 |
| - | |
894 |
| - | |
895 |
| - | |
896 |
| - | |
897 |
| - | |
898 |
| - | |
899 |
| - | |
900 |
| - | |
901 |
| - | |
902 |
| - | |
903 |
| - | |
904 |
| - | |
905 |
| - | |
906 |
| - | |
907 |
| - | |
908 |
| - | |
909 |
| - | |
910 |
| - | |
911 |
| - | |
912 |
| - | |
913 |
| - | |
914 |
| - | |
915 |
| - | |
916 |
| - | |
917 |
| - | |
918 |
| - | |
919 |
| - | |
920 |
| - | |
921 |
| - | |
922 |
| - | |
923 | 882 |
| |
924 | 883 |
| |
925 | 884 |
| |
| |||
2061 | 2020 |
| |
2062 | 2021 |
| |
2063 | 2022 |
| |
2064 |
| - | |
2065 |
| - | |
2066 |
| - | |
2067 |
| - | |
2068 |
| - | |
2069 |
| - | |
| 2023 | + | |
2070 | 2024 |
| |
2071 | 2025 |
| |
2072 | 2026 |
| |
|
0 commit comments
Comments
(0)