pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Jungwirth <pj@illuminatedcomputing.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Extension make installcheck: include update/insert feedback?
Date: Wed, 4 Apr 2018 17:17:05 -0700
Message-ID: <78e2da5f-7935-16f2-49c7-309811f9bfe2@illuminatedcomputing.com> (raw)

Hello,

I have a custom extension that uses the usual REGRESS Makefile variable 
to indicate files in {sql,expected} that should be used when you say 
`make installcheck`.

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. I'd like 
to include those messages in my expected/*.out files though, so that my 
tests verify I'm adding/updating as many rows as I intend. Is there any 
way to do that?

Thanks,

-- 
Paul              ~{:-)
pj@illuminatedcomputing.com




view thread (2+ messages)  latest in thread

Message-ID: <78e2da5f-7935-16f2-49c7-309811f9bfe2@illuminatedcomputing.com>
Permalink:  ../78e2da5f-7935-16f2-49c7-309811f9bfe2@illuminatedcomputing.com/
Also on:    postgresql.org/message-id/78e2da5f-7935-16f2-49c7-309811f9bfe2@illuminatedcomputing.com

 · 

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-general@postgresql.org
  Cc: pj@illuminatedcomputing.com
  Subject: Re: Extension make installcheck: include update/insert feedback?
  In-Reply-To: <78e2da5f-7935-16f2-49c7-309811f9bfe2@illuminatedcomputing.com>
  References: <78e2da5f-7935-16f2-49c7-309811f9bfe2@illuminatedcomputing.com>

* 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