aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-11-02 11:47:33 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-11-02 11:47:33 -0400
commit47c0f00cf90f58402c4fa9d9d605ca2fe8132687 (patch)
tree9acb0e3dba8bda1044f3888759174fa81db8a441 /src/tutorial/syscat.source
parent52a105eff2ba2e8154e5a25ae69603ef421b8804 (diff)
downloadpostgresql-47c0f00cf90f58402c4fa9d9d605ca2fe8132687.tar.gz
postgresql-47c0f00cf90f58402c4fa9d9d605ca2fe8132687.zip
Be more wary about NULL values for GUC string variables.
get_explain_guc_options() crashed if a string GUC marked GUC_EXPLAIN has a NULL boot_val. Nosing around found a couple of other places that seemed insufficiently cautious about NULL string values, although those are likely unreachable in practice. Add some commentary defining the expectations for NULL values of string variables, in hopes of forestalling future additions of more such bugs. Xing Guo, Aleksander Alekseev, Tom Lane Discussion: https://postgr.es/m/CACpMh+AyDx5YUpPaAgzVwC1d8zfOL4JoD-uyFDnNSa1z0EsDQQ@mail.gmail.com
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions