diff options
author | Noah Misch <noah@leadboat.com> | 2020-10-31 08:43:28 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2020-10-31 08:44:13 -0700 |
commit | 741b84e9f74726fbc97f63ddb46ab5675de98bdf (patch) | |
tree | ffab30e3674c35dc153f29c552515527ec2d587f /src/backend/executor/nodeModifyTable.c | |
parent | 25b587f03a8372786ec06fbd033fdf49750be0e5 (diff) | |
download | postgresql-741b84e9f74726fbc97f63ddb46ab5675de98bdf.tar.gz postgresql-741b84e9f74726fbc97f63ddb46ab5675de98bdf.zip |
Reproduce debug_query_string==NULL on parallel workers.
Certain background workers initiate parallel queries while
debug_query_string==NULL, at which point they attempted strlen(NULL) and
died to SIGSEGV. Older debug_query_string observers allow NULL, so do
likewise in these newer ones. Back-patch to v11, where commit
7de4a1bcc56f494acbd0d6e70781df877dc8ecb5 introduced the first of these.
Discussion: https://postgr.es/m/20201014022636.GA1962668@rfd.leadboat.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions