forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf1431f3
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 parent3e9abd2 commitf1431f3
1 file changed
+13
-3
lines changedLines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9780 | 9780 |
| |
9781 | 9781 |
| |
9782 | 9782 |
| |
9783 |
| - | |
| 9783 | + | |
| 9784 | + | |
| 9785 | + | |
| 9786 | + | |
| 9787 | + | |
| 9788 | + | |
| 9789 | + | |
| 9790 | + | |
| 9791 | + | |
| 9792 | + | |
9784 | 9793 |
| |
9785 | 9794 |
| |
9786 | 9795 |
| |
| |||
9792 | 9801 |
| |
9793 | 9802 |
| |
9794 | 9803 |
| |
9795 |
| - | |
| 9804 | + | |
| 9805 | + | |
9796 | 9806 |
| |
9797 | 9807 |
| |
9798 | 9808 |
| |
| |||
10002 | 10012 |
| |
10003 | 10013 |
| |
10004 | 10014 |
| |
10005 |
| - | |
| 10015 | + | |
10006 | 10016 |
| |
10007 | 10017 |
| |
10008 | 10018 |
| |
|
0 commit comments
Comments
(0)