- Notifications
You must be signed in to change notification settings - Fork5k
Commit50ba65e
committed
Add an additional hook for EXPLAIN option validation.
Commitc65bc2e made it possible forloadable modules to add EXPLAIN options. Normally, any necessaryvalidation can be performed by the hook function passed toRegisterExtensionExplainOption, but if a loadable module wants to sanitycheck options against each other, that needs to be done after the entireoptions list has been processed. So, add an additional hook for thatpurpose.Author: Sami Imseih <samimseih@gmail.com>Reviewed-by: Robert Haas <robertmhaas@gmail.com>Reviewed-by: Andrei Lepikhov <lepihov@gmail.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:http://postgr.es/m/CAA5RZ0vOcJF91O2e5AQN+V6guMNLMhJx83dxALf-iUZ-hLGO_Q@mail.gmail.com1 parentaf0d490 commit50ba65e
File tree
2 files changed
+12
-0
lines changed- src
- backend/commands
- include/commands
2 files changed
+12
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 |
| |
41 | 44 |
| |
42 | 45 |
| |
| |||
196 | 199 |
| |
197 | 200 |
| |
198 | 201 |
| |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
199 | 206 |
| |
200 | 207 |
| |
201 | 208 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 |
| |
82 | 87 |
| |
83 | 88 |
| |
|
0 commit comments
Comments
(0)