From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul Jungwirth <pj@illuminatedcomputing.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Extension make installcheck: include update/insert feedback?
Date: Wed, 04 Apr 2018 21:06:31 -0400
Message-ID: <2532.1522890391@sss.pgh.pa.us> (raw)
In-Reply-To: <78e2da5f-7935-16f2-49c7-309811f9bfe2@illuminatedcomputing.com>
References: <78e2da5f-7935-16f2-49c7-309811f9bfe2@illuminatedcomputing.com>
Paul Jungwirth <pj@illuminatedcomputing.com> writes:
> I've noticed that if my test code does an INSERT or DELETE, the usual
> `INSERT 0 1` and `UPDATE 2` messages don't appear in the *.out files,
> even though those otherwise mirror psql. I thought maybe there was some
> psql switch that turns those on/off, but I couldn't find one.
That's because pg_regress launches psql with the -q option (as well as -a).
I think you might be able to override that within a particular test script
by fooling with QUIET, or whichever psql variable it is that that switch
sets.
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, pj@illuminatedcomputing.com
Subject: Re: Extension make installcheck: include update/insert feedback?
In-Reply-To: <2532.1522890391@sss.pgh.pa.us>
References: <78e2da5f-7935-16f2-49c7-309811f9bfe2@illuminatedcomputing.com> <2532.1522890391@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