Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
317b3d7a
Commit
317b3d7a
authored
Aug 29, 2019
by
Etsuro Fujita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in regression test comments.
parent
744c848d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/test/regress/expected/partition_join.out
src/test/regress/expected/partition_join.out
+2
-2
src/test/regress/sql/partition_join.sql
src/test/regress/sql/partition_join.sql
+2
-2
No files found.
src/test/regress/expected/partition_join.out
View file @
317b3d7a
...
@@ -1959,7 +1959,7 @@ SELECT t1.a, t1.c, t2.b, t2.c FROM prt1_n t1 JOIN prt2_n t2 ON (t1.c = t2.c) JOI
...
@@ -1959,7 +1959,7 @@ SELECT t1.a, t1.c, t2.b, t2.c FROM prt1_n t1 JOIN prt2_n t2 ON (t1.c = t2.c) JOI
(16 rows)
(16 rows)
-- partitionwise join can not be applied for a join between list and range
-- partitionwise join can not be applied for a join between list and range
-- partitioned table
-- partitioned table
s
EXPLAIN (COSTS OFF)
EXPLAIN (COSTS OFF)
SELECT t1.a, t1.c, t2.b, t2.c FROM prt1_n t1 FULL JOIN prt1 t2 ON (t1.c = t2.c);
SELECT t1.a, t1.c, t2.b, t2.c FROM prt1_n t1 FULL JOIN prt1 t2 ON (t1.c = t2.c);
QUERY PLAN
QUERY PLAN
...
@@ -1976,7 +1976,7 @@ SELECT t1.a, t1.c, t2.b, t2.c FROM prt1_n t1 FULL JOIN prt1 t2 ON (t1.c = t2.c);
...
@@ -1976,7 +1976,7 @@ SELECT t1.a, t1.c, t2.b, t2.c FROM prt1_n t1 FULL JOIN prt1 t2 ON (t1.c = t2.c);
-> Seq Scan on prt1_n_p2 t1_1
-> Seq Scan on prt1_n_p2 t1_1
(10 rows)
(10 rows)
-- partitionwise join can not be applied if only one of joining table has
-- partitionwise join can not be applied if only one of joining table
s
has
-- default partition
-- default partition
ALTER TABLE prt2 DETACH PARTITION prt2_p3;
ALTER TABLE prt2 DETACH PARTITION prt2_p3;
ALTER TABLE prt2 ATTACH PARTITION prt2_p3 FOR VALUES FROM (500) TO (600);
ALTER TABLE prt2 ATTACH PARTITION prt2_p3 FOR VALUES FROM (500) TO (600);
...
...
src/test/regress/sql/partition_join.sql
View file @
317b3d7a
...
@@ -423,11 +423,11 @@ EXPLAIN (COSTS OFF)
...
@@ -423,11 +423,11 @@ EXPLAIN (COSTS OFF)
SELECT
t1
.
a
,
t1
.
c
,
t2
.
b
,
t2
.
c
FROM
prt1_n
t1
JOIN
prt2_n
t2
ON
(
t1
.
c
=
t2
.
c
)
JOIN
plt1
t3
ON
(
t1
.
c
=
t3
.
c
);
SELECT
t1
.
a
,
t1
.
c
,
t2
.
b
,
t2
.
c
FROM
prt1_n
t1
JOIN
prt2_n
t2
ON
(
t1
.
c
=
t2
.
c
)
JOIN
plt1
t3
ON
(
t1
.
c
=
t3
.
c
);
-- partitionwise join can not be applied for a join between list and range
-- partitionwise join can not be applied for a join between list and range
-- partitioned table
-- partitioned table
s
EXPLAIN
(
COSTS
OFF
)
EXPLAIN
(
COSTS
OFF
)
SELECT
t1
.
a
,
t1
.
c
,
t2
.
b
,
t2
.
c
FROM
prt1_n
t1
FULL
JOIN
prt1
t2
ON
(
t1
.
c
=
t2
.
c
);
SELECT
t1
.
a
,
t1
.
c
,
t2
.
b
,
t2
.
c
FROM
prt1_n
t1
FULL
JOIN
prt1
t2
ON
(
t1
.
c
=
t2
.
c
);
-- partitionwise join can not be applied if only one of joining table has
-- partitionwise join can not be applied if only one of joining table
s
has
-- default partition
-- default partition
ALTER
TABLE
prt2
DETACH
PARTITION
prt2_p3
;
ALTER
TABLE
prt2
DETACH
PARTITION
prt2_p3
;
ALTER
TABLE
prt2
ATTACH
PARTITION
prt2_p3
FOR
VALUES
FROM
(
500
)
TO
(
600
);
ALTER
TABLE
prt2
ATTACH
PARTITION
prt2_p3
FOR
VALUES
FROM
(
500
)
TO
(
600
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment