pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Cc: Thomas Munro <thomas.munro@gmail.com>
Subject: Re: Version reporting in pgbench
Date: Fri, 18 Jun 2021 14:40:03 -0400
Message-ID: <1234107.1624041603@sss.pgh.pa.us> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2106182021570.3211875@pseudo>
References: <1226654.1624036821@sss.pgh.pa.us>
	<alpine.DEB.2.22.394.2106182021570.3211875@pseudo>

Fabien COELHO <coelho@cri.ensmp.fr> writes:
> Why not move the printVersion call right after the connection is created, 
> at line 6374?

I started with that, and one of the 001_pgbench_with_server.pl
tests fell over --- it was expecting no stdout output before a
"Perhaps you need to do initialization" failure.  If you don't
mind changing that, I agree that printing immediately after
the connection is made is a bit less astonishing.

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <1234107.1624041603@sss.pgh.pa.us>
Permalink:  ../1234107.1624041603@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1234107.1624041603@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, coelho@cri.ensmp.fr, pgsql-hackers@lists.postgresql.org, thomas.munro@gmail.com
  Subject: Re: Version reporting in pgbench
  In-Reply-To: <1234107.1624041603@sss.pgh.pa.us>

* 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