aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/copyfromparse.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-05-28 12:12:40 +0900
committerMichael Paquier <michael@paquier.xyz>2022-05-28 12:12:40 +0900
commitf1431f3bffa00962ae8debb98a750ed2fb09fa3b (patch)
tree109685df2656a15caa738c780ce3d1007f642781 /src/backend/commands/copyfromparse.c
parent3e9abd2eb1b1f6863250f060290f514f30ce8044 (diff)
downloadpostgresql-f1431f3bffa00962ae8debb98a750ed2fb09fa3b.tar.gz
postgresql-f1431f3bffa00962ae8debb98a750ed2fb09fa3b.zip
Handle NULL for short descriptions of custom GUC variables
If a short description is specified as NULL in one of the various DefineCustomXXXVariable() functions available to external modules to define a custom parameter, SHOW ALL would crash. This change teaches SHOW ALL to properly handle NULL short descriptions, as well as any code paths that manipulate it, to gain in flexibility. Note that help_config.c was already able to do that, when describing a set of GUCs for postgres --describe-config. Author: Steve Chavez Reviewed by: Nathan Bossart, Andres Freund, Michael Paquier, Tom Lane Discussion: https://postgr.es/m/CAGRrpzY6hO-Kmykna_XvsTv8P2DshGiU6G3j8yGao4mk0CqjHA%40mail.gmail.com Backpatch-through: 10
Diffstat (limited to 'src/backend/commands/copyfromparse.c')
0 files changed, 0 insertions, 0 deletions