pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove some useless logs from the TAP tests of pgbench
Date: Sat, 26 Jun 2021 03:40:57 +0000
Message-ID: <E1lwzBh-0008Sf-VR@gemulon.postgresql.org> (raw)

Remove some useless logs from the TAP tests of pgbench

002_pgbench_no_server was printing some array pointers instead of the
actual contents of those arrays for the expected outputs of stdout and
stderr for a tested command.  This does not add any new information that
can help with debugging as the test names allow to track failure
locations, if any.

This commit simply removes those logs as the rest of the printed
information is redundant with command_checks_all().

Per discussion with Andrew Dunstan and Álvaro Herrera.

Discussion: https://postgr.es/m/YNXNFaG7IgkzZanD@paquier.xyz
Backpatch-through: 11

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/704e1dbd9aa29a0b46c356f1803ad55cbdef2c20

Modified Files
--------------
src/bin/pgbench/t/002_pgbench_no_server.pl | 1 -
1 file changed, 1 deletion(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1lwzBh-0008Sf-VR@gemulon.postgresql.org>
Permalink:  ../E1lwzBh-0008Sf-VR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lwzBh-0008Sf-VR@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Remove some useless logs from the TAP tests of pgbench
  In-Reply-To: <E1lwzBh-0008Sf-VR@gemulon.postgresql.org>
  References: <E1lwzBh-0008Sf-VR@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox