forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit538d114
committed
Allow executor nodes to change their ExecProcNode function.
In order for executor nodes to be able to change their ExecProcNode functionafter ExecInitNode() has finished, provide ExecSetExecProcNode(). This allowsany wrappers functions that only execProcnode.c knows about to be reinstalled.The motivation for wanting to change ExecProcNode after ExecInitNode() hasfinished is that it is not known until later whether parallel query isavailable, so if a parallel variant is to be installed then ExecInitNode()is too soon to decide.Author: Thomas MunroReviewed-By: Andres FreundDiscussion:https://postgr.es/m/CAEepm=09rr65VN+cAV5FgyM_z=D77Xy8Fuc9CDDDYbq3pQUezg@mail.gmail.com1 parentdbb3d6f commit538d114
File tree
2 files changed
+23
-6
lines changed- src
- backend/executor
- include/executor
2 files changed
+23
-6
lines changedLines changed: 22 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
370 | 370 |
| |
371 | 371 |
| |
372 | 372 |
| |
373 |
| - | |
374 |
| - | |
375 |
| - | |
376 |
| - | |
377 |
| - | |
378 |
| - | |
| 373 | + | |
379 | 374 |
| |
380 | 375 |
| |
381 | 376 |
| |
| |||
401 | 396 |
| |
402 | 397 |
| |
403 | 398 |
| |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
404 | 420 |
| |
405 | 421 |
| |
406 | 422 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
219 | 219 |
| |
220 | 220 |
| |
221 | 221 |
| |
| 222 | + | |
222 | 223 |
| |
223 | 224 |
| |
224 | 225 |
| |
|
0 commit comments
Comments
(0)