pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add regression tests for VACUUM and ANALYZE with relation skips
Date: Wed, 22 Aug 2018 00:43:03 +0000
Message-ID: <E1fsHEl-0007Y4-2P@gemulon.postgresql.org> (raw)

Add regression tests for VACUUM and ANALYZE with relation skips

When a user does not have ownership on a relation, then specific log
messages are generated.  This new test suite adds coverage for all the
possible log messages generated, which will be useful to check the
consistency of any refactoring related to ownership checks for relations
vacuumed or analyzed.

Author: Michael Paquier
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/20180812222142.GA6097@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/98abc738027e866f89b0ecf6f6a30b16e000e804

Modified Files
--------------
src/test/regress/expected/vacuum.out | 28 ++++++++++++++++++++++++++++
src/test/regress/sql/vacuum.sql      | 20 ++++++++++++++++++++
2 files changed, 48 insertions(+)



Message-ID: <E1fsHEl-0007Y4-2P@gemulon.postgresql.org>
Permalink:  ../E1fsHEl-0007Y4-2P@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fsHEl-0007Y4-2P@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: michael@paquier.xyz
  Subject: Re: pgsql: Add regression tests for VACUUM and ANALYZE with relation skips
  In-Reply-To: <E1fsHEl-0007Y4-2P@gemulon.postgresql.org>
  References: <E1fsHEl-0007Y4-2P@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