diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-04-09 17:13:18 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-04-09 17:13:18 -0400 |
commit | e7e341409a3d85aba4cf754ba9cf722a4d8e6676 (patch) | |
tree | eb0867ace84b236130cbd75c8d7f11ca22b821bd /src/backend/nodes/nodeFuncs.c | |
parent | 846d35b2dc1bd4d09f5e3e5e5a2cc8efafeb600e (diff) | |
download | postgresql-e7e341409a3d85aba4cf754ba9cf722a4d8e6676.tar.gz postgresql-e7e341409a3d85aba4cf754ba9cf722a4d8e6676.zip |
Suppress length of Notice/Error msgs in PQtrace regress mode
A (relatively minor) annoyance of ErrorResponse/NoticeResponse messages
as printed by PQtrace() is that their length might vary when we move
error messages from one source file to another, one function to another,
or even when their location line numbers change number of digits.
To avoid having to adjust expected files for some tests, make the
regress mode of PQtrace() suppress the length word of NoticeResponse and
ErrorResponse messages.
Discussion: https://postgr.es/m/20210402023010.GA13563@alvherre.pgsql
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Diffstat (limited to 'src/backend/nodes/nodeFuncs.c')
0 files changed, 0 insertions, 0 deletions