forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc2f08c6
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 parent82f7c32 commitc2f08c6
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 | |
---|---|---|---|
| |||
4176 | 4176 |
| |
4177 | 4177 |
| |
4178 | 4178 |
| |
4179 |
| - | |
4180 |
| - | |
4181 |
| - | |
4182 |
| - | |
4183 |
| - | |
4184 |
| - | |
4185 |
| - | |
4186 |
| - | |
4187 |
| - | |
4188 |
| - | |
4189 |
| - | |
4190 |
| - | |
4191 |
| - | |
| 4179 | + | |
4192 | 4180 |
| |
4193 | 4181 |
| |
4194 | 4182 |
| |
|
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)