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 <[email protected]> Discussion: https://postgr.es/m/[email protected] 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(-)
