projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6f545a
)
fix syntax error in foreign_key test suite
author
Tomas Vondra
<
[email protected]
>
Sun, 29 Jan 2017 02:14:36 +0000
(
03:14
+0100)
committer
Tomas Vondra
<
[email protected]
>
Sun, 29 Jan 2017 02:14:36 +0000
(
03:14
+0100)
It's DISTRIBUTE BY HASH (x), not just DISTRIBUTE BY (x).
src/test/regress/sql/foreign_key.sql
patch
|
blob
|
blame
|
history
diff --git
a/src/test/regress/sql/foreign_key.sql
b/src/test/regress/sql/foreign_key.sql
index 0e0d5dc17bcc2ef969956b21601f30c0f3e147f2..c9890b03af6e2c8a6ee70ad78f1886fb53236e51 100644
(file)
--- a/
src/test/regress/sql/foreign_key.sql
+++ b/
src/test/regress/sql/foreign_key.sql
@@
-1013,7
+1013,7
@@
drop table pp, cc;
-- Test interaction of foreign-key optimization with rules (bug #14219)
--
create temp table t1 (a integer primary key, b text);
-create temp table t2 (a integer, b integer references t1) distribute by (b);
+create temp table t2 (a integer, b integer references t1) distribute by
hash
(b);
create rule r1 as on delete to t1 do delete from t2 where t2.b = old.a;
explain (costs off) delete from t1 where a = 1;