forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1e68029
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 parent9e3dbc6 commit1e68029
1 file changed
+13
-3
lines changedLines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9089 | 9089 |
| |
9090 | 9090 |
| |
9091 | 9091 |
| |
9092 |
| - | |
| 9092 | + | |
| 9093 | + | |
| 9094 | + | |
| 9095 | + | |
| 9096 | + | |
| 9097 | + | |
| 9098 | + | |
| 9099 | + | |
| 9100 | + | |
| 9101 | + | |
9093 | 9102 |
| |
9094 | 9103 |
| |
9095 | 9104 |
| |
| |||
9101 | 9110 |
| |
9102 | 9111 |
| |
9103 | 9112 |
| |
9104 |
| - | |
| 9113 | + | |
| 9114 | + | |
9105 | 9115 |
| |
9106 | 9116 |
| |
9107 | 9117 |
| |
| |||
9279 | 9289 |
| |
9280 | 9290 |
| |
9281 | 9291 |
| |
9282 |
| - | |
| 9292 | + | |
9283 | 9293 |
| |
9284 | 9294 |
| |
9285 | 9295 |
| |
|
0 commit comments
Comments
(0)