From: Pavan Deolasee Date: Mon, 22 Jun 2015 10:09:24 +0000 (+0530) Subject: Mark a table in rowsecurity test case to be replicated X-Git-Tag: XL9_5_R1BETA1~233 X-Git-Url: http://git.postgresql.org/gitweb/review?a=commitdiff_plain;h=76d872716abb5acf291c328b1894a06f1ccfabd3;p=postgres-xl.git Mark a table in rowsecurity test case to be replicated The table is referenced by another table on a non-distribution key. So mark the table as replicated --- diff --git a/src/test/regress/sql/rowsecurity.sql b/src/test/regress/sql/rowsecurity.sql index fdadf99fd6..55fa7b8bf8 100644 --- 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'),