aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.control
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
commit7704a1a72e879daaefa1742916e01505edd2ce47 (patch)
tree2d5e3c8bf010a6c6a70ec34a4202e467b447ef7a /contrib/postgres_fdw/postgres_fdw.control
parent4b14e18714e10ac930ca53938fc6fa1a4fda50c7 (diff)
downloadpostgresql-7704a1a72e879daaefa1742916e01505edd2ce47.tar.gz
postgresql-7704a1a72e879daaefa1742916e01505edd2ce47.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 'contrib/postgres_fdw/postgres_fdw.control')
0 files changed, 0 insertions, 0 deletions