forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit98a9b37

Amit Kapila
This commit revert the commits to add a test case that tests the 'force'option when there is an active backend connected to the database beingdropped.This feature internally sends SIGTERM to all the backends connected to thedatabase being dropped and then the same is reported to the client. Wefound that on Windows, the client end of the socket is not able to readthe data once we close the socket in the server which leads to loss oferror message which is not what we expect. We also observed similarbehavior in other cases like pg_terminate_backend(),pg_ctl kill TERM <pid>. There are probably a few others like that. Thefix for this requires further study.Discussion:https://postgr.es/m/E1iaD8h-0004us-K9@gemulon.postgresql.org
1 parente6c2d17 commit98a9b37
File tree
4 files changed
+47
-165
lines changed- src
- bin/scripts/t
- test
- perl
- recovery/t
4 files changed
+47
-165
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 |
| |
23 | 29 |
|
Lines changed: 0 additions & 104 deletions
This file was deleted.
Lines changed: 0 additions & 37 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
860 | 860 |
| |
861 | 861 |
| |
862 | 862 |
| |
863 |
| - | |
864 |
| - | |
865 |
| - | |
866 |
| - | |
867 |
| - | |
868 |
| - | |
869 |
| - | |
870 |
| - | |
871 |
| - | |
872 |
| - | |
873 |
| - | |
874 |
| - | |
875 |
| - | |
876 |
| - | |
877 |
| - | |
878 |
| - | |
879 |
| - | |
880 |
| - | |
881 |
| - | |
882 |
| - | |
883 |
| - | |
884 |
| - | |
885 |
| - | |
886 |
| - | |
887 |
| - | |
888 |
| - | |
889 |
| - | |
890 |
| - | |
891 |
| - | |
892 |
| - | |
893 |
| - | |
894 |
| - | |
895 |
| - | |
896 |
| - | |
897 |
| - | |
898 |
| - | |
899 |
| - | |
900 | 863 |
| |
901 | 864 |
| |
902 | 865 |
| |
|
Lines changed: 40 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
75 |
| - | |
76 |
| - | |
77 |
| - | |
| 75 | + | |
78 | 76 |
| |
79 | 77 |
| |
80 | 78 |
| |
| |||
86 | 84 |
| |
87 | 85 |
| |
88 | 86 |
| |
89 |
| - | |
90 |
| - | |
91 |
| - | |
| 87 | + | |
92 | 88 |
| |
93 | 89 |
| |
94 | 90 |
| |
| |||
101 | 97 |
| |
102 | 98 |
| |
103 | 99 |
| |
104 |
| - | |
105 |
| - | |
| 100 | + | |
106 | 101 |
| |
107 | 102 |
| |
108 | 103 |
| |
| |||
117 | 112 |
| |
118 | 113 |
| |
119 | 114 |
| |
120 |
| - | |
| 115 | + | |
121 | 116 |
| |
122 |
| - | |
123 | 117 |
| |
124 | 118 |
| |
125 | 119 |
| |
| |||
131 | 125 |
| |
132 | 126 |
| |
133 | 127 |
| |
134 |
| - | |
| 128 | + | |
135 | 129 |
| |
136 |
| - | |
137 | 130 |
| |
138 | 131 |
| |
139 | 132 |
| |
| |||
160 | 153 |
| |
161 | 154 |
| |
162 | 155 |
| |
163 |
| - | |
164 |
| - | |
| 156 | + | |
165 | 157 |
| |
166 | 158 |
| |
167 | 159 |
| |
| |||
174 | 166 |
| |
175 | 167 |
| |
176 | 168 |
| |
177 |
| - | |
178 |
| - | |
179 |
| - | |
| 169 | + | |
180 | 170 |
| |
181 | 171 |
| |
182 | 172 |
| |
| |||
188 | 178 |
| |
189 | 179 |
| |
190 | 180 |
| |
191 |
| - | |
192 |
| - | |
| 181 | + | |
193 | 182 |
| |
194 | 183 |
| |
195 | 184 |
| |
| |||
205 | 194 |
| |
206 | 195 |
| |
207 | 196 |
| |
208 |
| - | |
| 197 | + | |
209 | 198 |
| |
210 |
| - | |
211 | 199 |
| |
212 | 200 |
| |
213 | 201 |
| |
| |||
217 | 205 |
| |
218 | 206 |
| |
219 | 207 |
| |
220 |
| - | |
| 208 | + | |
221 | 209 |
| |
222 |
| - | |
223 | 210 |
| |
224 | 211 |
| |
225 | 212 |
| |
| |||
257 | 244 |
| |
258 | 245 |
| |
259 | 246 |
| |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + |
0 commit comments
Comments
(0)