summaryrefslogtreecommitdiff
path: root/src/test/regress/sql/rowsecurity.sql
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-07-21 13:11:00 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-07-21 13:11:00 -0400
commitb3399cb0f68855886aa1a13a246fa5fc46e304e8 (patch)
tree1eae09680f5c42e37a08264b222ef538cb7ffcfd /src/test/regress/sql/rowsecurity.sql
parent1091402b5aa4873cf8321e204f929731765c82bc (diff)
downloadpostgresql-b3399cb0f68855886aa1a13a246fa5fc46e304e8.tar.gz
Make core regression tests safe for Danish locale.
Some tests added in 9.5 depended on 'aa' sorting before 'bb', which doesn't hold true in Danish. Use slightly different test data to avoid the problem. Jeff Janes Report: <CAMkU=1w-cEDbA+XHdNb=YS_4wvZbs66Ni9KeSJKAJGNJyOsgQw@mail.gmail.com>
Diffstat (limited to 'src/test/regress/sql/rowsecurity.sql')
-rw-r--r--src/test/regress/sql/rowsecurity.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/sql/rowsecurity.sql b/src/test/regress/sql/rowsecurity.sql
index a142923cdc..785ac84746 100644
--- a/src/test/regress/sql/rowsecurity.sql
+++ b/src/test/regress/sql/rowsecurity.sql
@@ -200,7 +200,7 @@ ALTER TABLE t1 DROP COLUMN junk1; -- just a disturbing factor
GRANT ALL ON t1 TO public;
COPY t1 FROM stdin WITH (oids);
-101 1 aaa
+101 1 aba
102 2 bbb
103 3 ccc
104 4 ddd
@@ -635,7 +635,7 @@ GRANT SELECT ON z1,z2 TO regress_rls_group1, regress_rls_group2,
regress_rls_bob, regress_rls_carol;
INSERT INTO z1 VALUES
- (1, 'aaa'),
+ (1, 'aba'),
(2, 'bbb'),
(3, 'ccc'),
(4, 'ddd');