summaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/sql/postgres_fdw.sql
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-03-27 12:57:46 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-03-27 12:57:52 -0400
commit3f7a59c59b4873a3b39838401d590f9d030a3500 (patch)
tree1fbe52a0e58404ebcf1739704b3807ef52226dd8 /contrib/postgres_fdw/sql/postgres_fdw.sql
parent27d384441851fe28ced962665632f2d1b914f11b (diff)
Fix breakage of get_ps_display() in the PS_USE_NONE case.
Commit 8c6d30f21 caused this function to fail to set *displen in the PS_USE_NONE code path. If the variable's previous value had been negative, that'd lead to a memory clobber at some call sites. We'd managed not to notice due to very thin test coverage of such configurations, but this appears to explain buildfarm member lorikeet's recent struggles. Credit to Andrew Dunstan for spotting the problem. Back-patch to v13 where the bug was introduced. Discussion: https://postgr.es/m/136102.1648320427@sss.pgh.pa.us
Diffstat (limited to 'contrib/postgres_fdw/sql/postgres_fdw.sql')
0 files changed, 0 insertions, 0 deletions