Skip to content

Commit 82c5c53

Browse files
committed
postgres_fdw: Fix failing regression test.
Commit ab3f008 broke this. Report by Stephen Frost. Discussion: http://postgr.es/m/20171205180342.GO4628@tamriel.snowman.net
1 parent ab3f008 commit 82c5c53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/postgres_fdw/expected/postgres_fdw.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2315,7 +2315,7 @@ SELECT ft5, ft5.c1, ft5.c2, ft5.c3, ft4.c1, ft4.c2 FROM ft5 left join ft4 on ft5
23152315
(4 rows)
23162316

23172317
-- check join pushdown in situations where multiple userids are involved
2318-
CREATE ROLE regress_view_owner;
2318+
CREATE ROLE regress_view_owner SUPERUSER;
23192319
CREATE USER MAPPING FOR regress_view_owner SERVER loopback;
23202320
GRANT SELECT ON ft4 TO regress_view_owner;
23212321
GRANT SELECT ON ft5 TO regress_view_owner;

contrib/postgres_fdw/sql/postgres_fdw.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ SELECT ft5, ft5.c1, ft5.c2, ft5.c3, ft4.c1, ft4.c2 FROM ft5 left join ft4 on ft5
560560
SELECT ft5, ft5.c1, ft5.c2, ft5.c3, ft4.c1, ft4.c2 FROM ft5 left join ft4 on ft5.c1 = ft4.c1 WHERE ft4.c1 BETWEEN 10 and 30 ORDER BY ft5.c1, ft4.c1;
561561

562562
-- check join pushdown in situations where multiple userids are involved
563-
CREATE ROLE regress_view_owner;
563+
CREATE ROLE regress_view_owner SUPERUSER;
564564
CREATE USER MAPPING FOR regress_view_owner SERVER loopback;
565565
GRANT SELECT ON ft4 TO regress_view_owner;
566566
GRANT SELECT ON ft5 TO regress_view_owner;

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