Thread: pgsql: Set debug_query_string in worker_spi.

pgsql: Set debug_query_string in worker_spi.

From
Noah Misch
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d2246cde825e4e1a85408390c66367b85b51a233

Modified Files
--------------
src/test/modules/worker_spi/worker_spi.c | 8 ++++++++
1 file changed, 8 insertions(+)