Re: log bind parameter values on error

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Alexey Bashtanov <bashtanov(at)imap(dot)cc>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: log bind parameter values on error
Date: 2019-12-06 21:41:20
Message-ID: 20191206214120.GA4325@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I added some tests to the pgbench suite in the attached. I also finally
put it the business to limit the length of parameters reported.

I'd probably drop testlibpq5.c, since it seems a bit pointless now ...

Álvaro Herrera
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
v17-0001-Add-appendStringInfoStringQuoted.patch text/x-diff 7.7 KB
v17-0002-Emit-parameter-values-during-query-bind-execute-.patch text/x-diff 24.8 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2019-12-06 21:47:26 Re: log bind parameter values on error
Previous Message Jakob Egger 2019-12-06 20:06:13 Re: Frontend/Backend Protocol: SSL / GSS Protocol Negotiation Problem