Skip to content

Commit 2cdc138

Browse files
committed
Remember to drop roles created by regression tests.
Commit e3920ac created "regress_subscription_user2" in subscription.sql, but forgot to drop it, causing the regression tests to fail if run twice without re-initdb'ing.
1 parent cf366e9 commit 2cdc138

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/test/regress/expected/subscription.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,5 @@ DROP SUBSCRIPTION testsub NODROP SLOT; -- fail
119119
ERROR: subscription "testsub" does not exist
120120
RESET SESSION AUTHORIZATION;
121121
DROP ROLE regress_subscription_user;
122+
DROP ROLE regress_subscription_user2;
122123
DROP ROLE regress_subscription_user_dummy;

src/test/regress/sql/subscription.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ DROP SUBSCRIPTION testsub NODROP SLOT; -- fail
9292

9393
RESET SESSION AUTHORIZATION;
9494
DROP ROLE regress_subscription_user;
95+
DROP ROLE regress_subscription_user2;
9596
DROP ROLE regress_subscription_user_dummy;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy