pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: tests: Restrict pg_locks queries in advisory_locks.sql to curren
Date: Wed, 05 Oct 2022 18:06:23 +0000
Message-ID: <E1og8mk-0012ai-Ek@gemulon.postgresql.org> (raw)

tests: Restrict pg_locks queries in advisory_locks.sql to current database

Otherwise testing an existing installation can fail, if there are other locks,
e.g. from one of the isolation tests.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/20221003234111.4ob7yph6r4g4ywhu@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c3315a7da57be720222b119385ed0f7ad7c15268

Modified Files
--------------
src/test/regress/expected/advisory_lock.out | 31 ++++++++++++++--------------
src/test/regress/sql/advisory_lock.sql      | 32 +++++++++++++++--------------
2 files changed, 33 insertions(+), 30 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1og8mk-0012ai-Ek@gemulon.postgresql.org>
Permalink:  ../E1og8mk-0012ai-Ek@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1og8mk-0012ai-Ek@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: tests: Restrict pg_locks queries in advisory_locks.sql to curren
  In-Reply-To: <E1og8mk-0012ai-Ek@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