pgsql: Set debug_query_string in worker_spi.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Set debug_query_string in worker_spi.
Date: 2020-10-31 15:52:07
Message-ID: E1kYtAl-0001R8-1g@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-11-01 10:23:34 pgsql: Add error code for encryption failure in pgcrypto
Previous Message Tom Lane 2020-10-30 21:01:06 pgsql: Fix assertion failure in check_new_partition_bound().