Set debug_query_string in worker_spi.
authorNoah Misch <noah@leadboat.com>
Sat, 31 Oct 2020 15:47:02 +0000 (08:47 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 31 Oct 2020 15:47:02 +0000 (08:47 -0700)
commitd2246cde825e4e1a85408390c66367b85b51a233
treea49edb107dacee80ff2d924782739c01511a6640
parentf90e80b9138355a51d2d5b5b63e1f89c4ba53325
Set debug_query_string in worker_spi.

This makes elog.c emit the string, which is good practice for a
background worker that executes SQL strings.

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20201014022636.GA1962668@rfd.leadboat.com
src/test/modules/worker_spi/worker_spi.c