forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitae236bf
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 parent01ab9fb commitae236bf
1 file changed
+13
-3
lines changedLines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8858 | 8858 |
| |
8859 | 8859 |
| |
8860 | 8860 |
| |
8861 |
| - | |
| 8861 | + | |
| 8862 | + | |
| 8863 | + | |
| 8864 | + | |
| 8865 | + | |
| 8866 | + | |
| 8867 | + | |
| 8868 | + | |
| 8869 | + | |
| 8870 | + | |
8862 | 8871 |
| |
8863 | 8872 |
| |
8864 | 8873 |
| |
| |||
8870 | 8879 |
| |
8871 | 8880 |
| |
8872 | 8881 |
| |
8873 |
| - | |
| 8882 | + | |
| 8883 | + | |
8874 | 8884 |
| |
8875 | 8885 |
| |
8876 | 8886 |
| |
| |||
9048 | 9058 |
| |
9049 | 9059 |
| |
9050 | 9060 |
| |
9051 |
| - | |
| 9061 | + | |
9052 | 9062 |
| |
9053 | 9063 |
| |
9054 | 9064 |
| |
|
0 commit comments
Comments
(0)