Re: log bind parameter values on error
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>, Alexey Bashtanov <bashtanov@imap.cc>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2019-12-09T21:14:32Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes: > The stuff about truncating to N chars was of my own devising. If we > don't want truncation in log_parameters_on_error either, we could do > away with the stringinfo changes altogether. (I stand by my opinion > that we should truncate, but if there are contrary votes I'm happy to > stand down and just get the suggested feature pushed.) I think it's a reasonable thing to do, modulo my fear that people are going to insist on having a way to configure the limit. regards, tom lane
Commits
-
Emit parameter values during query bind/execute errors
- ba79cb5dc841 13.0 landed
-
Add backend-only appendStringInfoStringQuoted
- 6cafde1bd43f 13.0 landed