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:
6ce8961
)
Mark a table in rowsecurity test case to be replicated
author
Pavan Deolasee
<
[email protected]
>
Mon, 22 Jun 2015 10:09:24 +0000
(15:39 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Mon, 22 Jun 2015 10:09:24 +0000
(15:39 +0530)
The table is referenced by another table on a non-distribution key. So mark the
table as replicated
src/test/regress/sql/rowsecurity.sql
patch
|
blob
|
blame
|
history
diff --git
a/src/test/regress/sql/rowsecurity.sql
b/src/test/regress/sql/rowsecurity.sql
index fdadf99fd62167b2774b2f848761842da57fa9d8..55fa7b8bf8c91d5fb21f39d5b390caeb90377af9 100644
(file)
--- a/
src/test/regress/sql/rowsecurity.sql
+++ b/
src/test/regress/sql/rowsecurity.sql
@@
-53,10
+53,14
@@
INSERT INTO uaccount VALUES
('rls_regress_user2', 2),
('rls_regress_user3', 3);
+-- PGXL
+-- Distribute by replication so that "document" table below can reference "cid"
+-- column
+--
CREATE TABLE category (
cid int primary key,
cname text
-);
+)
DISTRIBUTE BY REPLICATION
;
GRANT ALL ON category TO public;
INSERT INTO category VALUES
(11, 'novel'),