Re: Extension make installcheck: include update/insert feedback?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Extension make installcheck: include update/insert feedback?
Date: 2018-04-05 01:06:31
Message-ID: 2532.1522890391@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Paul Jungwirth <pj(at)illuminatedcomputing(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jerry Sievers 2018-04-05 03:01:40 Re: PgUpgrade bumped my XIDs by ~50M?
Previous Message Peter Eisentraut 2018-04-05 00:40:58 Re: LDAP Bind Password