- Notifications
You must be signed in to change notification settings - Fork28
Commitb3721f7
committed
Remove dead code and fix comments in fast-path function handling.
HandleFunctionRequest() is no longer responsible for reading the protocolmessage from the client, since commit2b3a8b2. Fix the outdatedcomments.HandleFunctionRequest() now always returns 0, because the code that usedto return EOF was moved in2b3a8b2. Therefore, the caller no longerneeds to check the return value.Reported by Andres Freund. Backpatch to all supported versions, even thoughthis doesn't have any user-visible effect, to make backporting futurepatches in this area easier.Discussion:https://www.postgresql.org/message-id/20170405010525.rt5azbya5fkbhvrx@alap3.anarazel.de1 parentfd52b88 commitb3721f7
3 files changed
+7
-31
lines changedLines changed: 5 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
| 252 | + | |
| 253 | + | |
263 | 254 |
| |
264 | 255 |
| |
265 | 256 |
| |
266 | 257 |
| |
267 | 258 |
| |
268 | 259 |
| |
269 |
| - | |
| 260 | + | |
270 | 261 |
| |
271 | 262 |
| |
272 | 263 |
| |
| |||
281 | 272 |
| |
282 | 273 |
| |
283 | 274 |
| |
284 |
| - | |
285 |
| - | |
286 |
| - | |
| 275 | + | |
| 276 | + | |
287 | 277 |
| |
288 | 278 |
| |
289 | 279 |
| |
| |||
406 | 396 |
| |
407 | 397 |
| |
408 | 398 |
| |
409 |
| - | |
410 |
| - | |
411 | 399 |
| |
412 | 400 |
| |
413 | 401 |
| |
|
Lines changed: 1 addition & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4165 | 4165 |
| |
4166 | 4166 |
| |
4167 | 4167 |
| |
4168 |
| - | |
4169 |
| - | |
4170 |
| - | |
4171 |
| - | |
4172 |
| - | |
4173 |
| - | |
4174 |
| - | |
4175 |
| - | |
4176 |
| - | |
4177 |
| - | |
4178 |
| - | |
4179 |
| - | |
4180 |
| - | |
| 4168 | + | |
4181 | 4169 |
| |
4182 | 4170 |
| |
4183 | 4171 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
|
0 commit comments
Comments
(0)