Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit019c13e

Browse files
author
Etsuro Fujita
committed
postgres_fdw: Fix test for parameterized foreign scan.
Commite4106b2 should have updated this test, but did not; back-patchto all supported branches.Reviewed by Richard Guo.Discussion:http://postgr.es/m/CAPmGK15nR0NXLSCKQAcqbZbTzrzd5MozowWnTnGfPkayndF43Q%40mail.gmail.com
1 parent420c8dc commit019c13e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎contrib/postgres_fdw/expected/postgres_fdw.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -735,10 +735,10 @@ EXPLAIN (VERBOSE, COSTS OFF)
735735
Remote SQL: SELECT "C 1", c2, c3, c4, c5, c6, c7, c8 FROM "S 1"."T 1" WHERE (($1::integer = "C 1"))
736736
(8 rows)
737737

738-
SELECT * FROMft2a, ft2 b WHERE a.c1 = 47 AND b.c1 = a.c2;
739-
c1 | c2 | c3 | c4 | c5 | c6 | c7 | c8 | c1 | c2 | c3 | c4 | c5 | c6 | c7 | c8
740-
----+----+-------+------------------------------+--------------------------+----+------------+-----+----+----+-------+------------------------------+--------------------------+----+------------+-----
741-
47 | 7 | 00047 | Tue Feb 17 00:00:00 1970 PST | Tue Feb 17 00:00:00 1970 | 7 | 7 | foo | 7 | 7 | 00007 | Thu Jan 08 00:00:00 1970 PST | Thu Jan 08 00:00:00 1970 | 7 | 7 | foo
738+
SELECT * FROM"S 1"."T 1"a, ft2 b WHERE a."C 1" = 47 AND b.c1 = a.c2;
739+
C 1 | c2 | c3 | c4 | c5 | c6 | c7 | c8 | c1 | c2 | c3 | c4 | c5 | c6 | c7 | c8
740+
-----+----+-------+------------------------------+--------------------------+----+------------+-----+----+----+-------+------------------------------+--------------------------+----+------------+-----
741+
47 | 7 | 00047 | Tue Feb 17 00:00:00 1970 PST | Tue Feb 17 00:00:00 1970 | 7 | 7 | foo | 7 | 7 | 00007 | Thu Jan 08 00:00:00 1970 PST | Thu Jan 08 00:00:00 1970 | 7 | 7 | foo
742742
(1 row)
743743

744744
-- check both safe and unsafe join conditions

‎contrib/postgres_fdw/sql/postgres_fdw.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ EXPLAIN (VERBOSE, COSTS OFF) SELECT * FROM ft1 t1 WHERE c8 = 'foo'; -- can't be
328328
-- parameterized remote path for foreign table
329329
EXPLAIN (VERBOSE, COSTS OFF)
330330
SELECT*FROM"S 1"."T 1" a, ft2 bWHERE a."C 1"=47ANDb.c1=a.c2;
331-
SELECT*FROMft2a, ft2 bWHEREa.c1=47ANDb.c1=a.c2;
331+
SELECT*FROM"S 1"."T 1"a, ft2 bWHERE a."C 1"=47ANDb.c1=a.c2;
332332

333333
-- check both safe and unsafe join conditions
334334
EXPLAIN (VERBOSE, COSTS OFF)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp