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:43:32 -0700 |
commit | ab2e2ce466683b6af5ec956106cd905380d3d349 (patch) | |
tree | 2305059cd5398b3cb138c8eea1b856a671096312 /src/backend/executor/nodeModifyTable.c | |
parent | ee03baad267dd83fa66a0ca4c1a7635f549fc1a6 (diff) | |
download | postgresql-ab2e2ce466683b6af5ec956106cd905380d3d349.tar.gz postgresql-ab2e2ce466683b6af5ec956106cd905380d3d349.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