0002-WIP-Attempt-to-put-back-intra-grant-inplace.spec-cov.patch
text/plain
Filename: 0002-WIP-Attempt-to-put-back-intra-grant-inplace.spec-cov.patch
Type: text/plain
Part: 1
Patch
Format: format-patch
Series: patch 0002
Subject: WIP: Attempt to put back intra-grant-inplace.spec coverage
| File | + | − |
|---|---|---|
| src/test/isolation/expected/intra-grant-inplace.out | 2 | 2 |
| src/test/isolation/specs/intra-grant-inplace.spec | 1 | 1 |
From e1ff7134fca04b9909f30eb8d71a126de92bc2a1 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter@eisentraut.org>
Date: Wed, 11 Jun 2025 17:11:19 +0200
Subject: [PATCH 2/2] WIP: Attempt to put back intra-grant-inplace.spec
coverage
---
src/test/isolation/expected/intra-grant-inplace.out | 4 ++--
src/test/isolation/specs/intra-grant-inplace.spec | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/isolation/expected/intra-grant-inplace.out b/src/test/isolation/expected/intra-grant-inplace.out
index 1aa9da622da..23c34d0ca09 100644
--- a/src/test/isolation/expected/intra-grant-inplace.out
+++ b/src/test/isolation/expected/intra-grant-inplace.out
@@ -226,7 +226,7 @@ step revoke4: <... completed>
starting permutation: b1 drop1 b3 sfu3 revoke4 c1 r3
step b1: BEGIN;
step drop1:
- DROP TABLE intra_grant_inplace;
+ DELETE FROM pg_class WHERE relname = 'intra_grant_inplace';
step b3: BEGIN ISOLATION LEVEL READ COMMITTED;
step sfu3:
@@ -248,6 +248,6 @@ relhasindex
-----------
(0 rows)
-s4: WARNING: got: relation "intra_grant_inplace" does not exist
+s4: WARNING: got: cache lookup failed for relation REDACTED
step revoke4: <... completed>
step r3: ROLLBACK;
diff --git a/src/test/isolation/specs/intra-grant-inplace.spec b/src/test/isolation/specs/intra-grant-inplace.spec
index 9936d389359..e9c7848624c 100644
--- a/src/test/isolation/specs/intra-grant-inplace.spec
+++ b/src/test/isolation/specs/intra-grant-inplace.spec
@@ -20,7 +20,7 @@ step grant1 {
GRANT SELECT ON intra_grant_inplace TO PUBLIC;
}
step drop1 {
- DROP TABLE intra_grant_inplace;
+ DELETE FROM pg_class WHERE relname = 'intra_grant_inplace';
}
step c1 { COMMIT; }
--
2.49.0