forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfe441a0
committed
Handle NULL for short descriptions of custom GUC variables
If a short description is specified as NULL in one of the variousDefineCustomXXXVariable() functions available to external modules todefine a custom parameter, SHOW ALL would crash. This change teachesSHOW ALL to properly handle NULL short descriptions, as well as any codepaths that manipulate it, to gain in flexibility. Note thathelp_config.c was already able to do that, when describing a set of GUCsfor postgres --describe-config.Author: Steve ChavezReviewed by: Nathan Bossart, Andres Freund, Michael Paquier, Tom LaneDiscussion:https://postgr.es/m/CAGRrpzY6hO-Kmykna_XvsTv8P2DshGiU6G3j8yGao4mk0CqjHA%40mail.gmail.comBackpatch-through: 101 parentb4be4a0 commitfe441a0
1 file changed
+13
-3
lines changedLines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9415 | 9415 |
| |
9416 | 9416 |
| |
9417 | 9417 |
| |
9418 |
| - | |
| 9418 | + | |
| 9419 | + | |
| 9420 | + | |
| 9421 | + | |
| 9422 | + | |
| 9423 | + | |
| 9424 | + | |
| 9425 | + | |
| 9426 | + | |
| 9427 | + | |
9419 | 9428 |
| |
9420 | 9429 |
| |
9421 | 9430 |
| |
| |||
9427 | 9436 |
| |
9428 | 9437 |
| |
9429 | 9438 |
| |
9430 |
| - | |
| 9439 | + | |
| 9440 | + | |
9431 | 9441 |
| |
9432 | 9442 |
| |
9433 | 9443 |
| |
| |||
9598 | 9608 |
| |
9599 | 9609 |
| |
9600 | 9610 |
| |
9601 |
| - | |
| 9611 | + | |
9602 | 9612 |
| |
9603 | 9613 |
| |
9604 | 9614 |
| |
|
0 commit comments
Comments
(0)