pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make subscription tests pass with log_error_verbosity=verbose
Date: Sun, 12 Jun 2022 13:22:59 +0000
Message-ID: <E1o0NYQ-003wcF-UV@gemulon.postgresql.org> (raw)

Make subscription tests pass with log_error_verbosity=verbose

Recent additions to the subscription tests check for log entries, but
fail to account for the possible presence of an SQL errror code, which
happens if log_error_verbosity is set to 'verbose'. Add this into the
regular expressions that are checked for.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/19408aae7fa2bf28866fb262b27f08405e71152e

Modified Files
--------------
src/test/subscription/t/027_nosuperuser.pl | 10 +++++-----
src/test/subscription/t/029_on_error.pl    |  2 +-
2 files changed, 6 insertions(+), 6 deletions(-)



Message-ID: <E1o0NYQ-003wcF-UV@gemulon.postgresql.org>
Permalink:  ../E1o0NYQ-003wcF-UV@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1o0NYQ-003wcF-UV@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: andrew@dunslane.net
  Subject: Re: pgsql: Make subscription tests pass with log_error_verbosity=verbose
  In-Reply-To: <E1o0NYQ-003wcF-UV@gemulon.postgresql.org>
  References: <E1o0NYQ-003wcF-UV@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