forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdb16c65
committed
Rename the logical replication global "wrconn"
The worker.c global wrconn is only meant to be used by logical apply/tablesync workers, but there are other variables with the same name. Toreduce future confusion rename the global from "wrconn" to"LogRepWorkerWalRcvConn".While this is just cosmetic, it seems better to backpatch it all the wayback to 10 where this code appeared, to avoid future backpatchingissues.Author: Peter Smith <smithpb2250@gmail.com>Discussion:https://postgr.es/m/CAHut+Pu7Jv9L2BOEx_Z0UtJxfDevQSAUW2mJqWU+CtmDrEZVAg@mail.gmail.com1 parent7dde987 commitdb16c65
File tree
4 files changed
+36
-28
lines changed- src
- backend/replication/logical
- include/replication
4 files changed
+36
-28
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
643 | 643 |
| |
644 | 644 |
| |
645 | 645 |
| |
646 |
| - | |
647 |
| - | |
| 646 | + | |
| 647 | + | |
648 | 648 |
| |
649 | 649 |
| |
650 | 650 |
| |
|
Lines changed: 21 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
302 | 302 |
| |
303 | 303 |
| |
304 | 304 |
| |
305 |
| - | |
306 |
| - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
307 | 310 |
| |
308 | 311 |
| |
309 | 312 |
| |
| |||
322 | 325 |
| |
323 | 326 |
| |
324 | 327 |
| |
325 |
| - | |
| 328 | + | |
326 | 329 |
| |
327 | 330 |
| |
328 | 331 |
| |
| |||
642 | 645 |
| |
643 | 646 |
| |
644 | 647 |
| |
645 |
| - | |
| 648 | + | |
646 | 649 |
| |
647 | 650 |
| |
648 | 651 |
| |
| |||
715 | 718 |
| |
716 | 719 |
| |
717 | 720 |
| |
718 |
| - | |
| 721 | + | |
| 722 | + | |
719 | 723 |
| |
720 | 724 |
| |
721 | 725 |
| |
| |||
752 | 756 |
| |
753 | 757 |
| |
754 | 758 |
| |
755 |
| - | |
| 759 | + | |
| 760 | + | |
756 | 761 |
| |
757 |
| - | |
| 762 | + | |
| 763 | + | |
758 | 764 |
| |
759 | 765 |
| |
760 | 766 |
| |
| |||
841 | 847 |
| |
842 | 848 |
| |
843 | 849 |
| |
844 |
| - | |
| 850 | + | |
845 | 851 |
| |
846 | 852 |
| |
847 | 853 |
| |
| |||
957 | 963 |
| |
958 | 964 |
| |
959 | 965 |
| |
960 |
| - | |
961 |
| - | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
962 | 969 |
| |
963 | 970 |
| |
964 | 971 |
| |
| |||
985 | 992 |
| |
986 | 993 |
| |
987 | 994 |
| |
988 |
| - | |
| 995 | + | |
989 | 996 |
| |
990 | 997 |
| |
991 | 998 |
| |
| |||
1038 | 1045 |
| |
1039 | 1046 |
| |
1040 | 1047 |
| |
1041 |
| - | |
| 1048 | + | |
1042 | 1049 |
| |
1043 | 1050 |
| |
1044 | 1051 |
| |
| |||
1058 | 1065 |
| |
1059 | 1066 |
| |
1060 | 1067 |
| |
1061 |
| - | |
| 1068 | + | |
1062 | 1069 |
| |
1063 | 1070 |
| |
1064 | 1071 |
| |
| |||
1100 | 1107 |
| |
1101 | 1108 |
| |
1102 | 1109 |
| |
1103 |
| - | |
| 1110 | + | |
1104 | 1111 |
| |
1105 | 1112 |
| |
1106 | 1113 |
| |
|
Lines changed: 12 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
159 |
| - | |
| 159 | + | |
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
| |||
2126 | 2126 |
| |
2127 | 2127 |
| |
2128 | 2128 |
| |
2129 |
| - | |
| 2129 | + | |
2130 | 2130 |
| |
2131 | 2131 |
| |
2132 | 2132 |
| |
| |||
2206 | 2206 |
| |
2207 | 2207 |
| |
2208 | 2208 |
| |
2209 |
| - | |
| 2209 | + | |
2210 | 2210 |
| |
2211 | 2211 |
| |
2212 | 2212 |
| |
| |||
2312 | 2312 |
| |
2313 | 2313 |
| |
2314 | 2314 |
| |
2315 |
| - | |
| 2315 | + | |
2316 | 2316 |
| |
2317 | 2317 |
| |
2318 | 2318 |
| |
| |||
2396 | 2396 |
| |
2397 | 2397 |
| |
2398 | 2398 |
| |
2399 |
| - | |
| 2399 | + | |
| 2400 | + | |
2400 | 2401 |
| |
2401 | 2402 |
| |
2402 | 2403 |
| |
| |||
3090 | 3091 |
| |
3091 | 3092 |
| |
3092 | 3093 |
| |
3093 |
| - | |
3094 |
| - | |
3095 |
| - | |
| 3094 | + | |
| 3095 | + | |
| 3096 | + | |
3096 | 3097 |
| |
3097 | 3098 |
| |
3098 | 3099 |
| |
3099 | 3100 |
| |
3100 | 3101 |
| |
3101 | 3102 |
| |
3102 | 3103 |
| |
3103 |
| - | |
| 3104 | + | |
3104 | 3105 |
| |
3105 | 3106 |
| |
3106 | 3107 |
| |
| |||
3116 | 3117 |
| |
3117 | 3118 |
| |
3118 | 3119 |
| |
3119 |
| - | |
| 3120 | + | |
3120 | 3121 |
| |
3121 | 3122 |
| |
3122 | 3123 |
| |
3123 | 3124 |
| |
3124 | 3125 |
| |
3125 | 3126 |
| |
3126 |
| - | |
| 3127 | + | |
3127 | 3128 |
| |
3128 | 3129 |
| |
3129 | 3130 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
65 |
| - | |
| 65 | + | |
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
|
0 commit comments
Comments
(0)