From: Peter Eisentraut Date: Mon, 10 Apr 2017 15:18:15 +0000 (-0400) Subject: Fix whitespace X-Git-Tag: REL_10_BETA1~318 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=244f1c89070c1a661623bf1eaddf1307f8f598a3;p=postgresql Fix whitespace --- diff --git a/contrib/sepgsql/expected/dml.out b/contrib/sepgsql/expected/dml.out index 995e425aca..31243c723b 100644 --- a/contrib/sepgsql/expected/dml.out +++ b/contrib/sepgsql/expected/dml.out @@ -257,7 +257,7 @@ ERROR: SELinux: security policy violation --- -- partitioned table parent UPDATE t1p SET o = 9 WHERE o < 10; -- ok -UPDATE t1p SET o = 99 WHERE o >= 10; -- ok +UPDATE t1p SET o = 99 WHERE o >= 10; -- ok UPDATE t1p SET o = ascii(COALESCE(p,'upd'))%10 WHERE o < 10; -- ok UPDATE t1p SET o = ascii(COALESCE(q,'upd'))%100 WHERE o >= 10; -- failed ERROR: SELinux: security policy violation @@ -266,7 +266,7 @@ UPDATE t1p_ones SET o = 9; -- ok UPDATE t1p_ones SET o = ascii(COALESCE(p,'upd'))%10; -- ok UPDATE t1p_ones SET o = ascii(COALESCE(q,'upd'))%10; -- failed ERROR: SELinux: security policy violation -UPDATE t1p_tens SET o = 99; -- ok +UPDATE t1p_tens SET o = 99; -- ok UPDATE t1p_tens SET o = ascii(COALESCE(p,'upd'))%100; -- ok UPDATE t1p_tens SET o = ascii(COALESCE(q,'upd'))%100; -- failed ERROR: SELinux: security policy violation diff --git a/contrib/sepgsql/sql/dml.sql b/contrib/sepgsql/sql/dml.sql index fc318110fa..19201f4b90 100644 --- a/contrib/sepgsql/sql/dml.sql +++ b/contrib/sepgsql/sql/dml.sql @@ -158,14 +158,14 @@ UPDATE t5 SET e = g || '_upd'; -- failed --- -- partitioned table parent UPDATE t1p SET o = 9 WHERE o < 10; -- ok -UPDATE t1p SET o = 99 WHERE o >= 10; -- ok +UPDATE t1p SET o = 99 WHERE o >= 10; -- ok UPDATE t1p SET o = ascii(COALESCE(p,'upd'))%10 WHERE o < 10; -- ok UPDATE t1p SET o = ascii(COALESCE(q,'upd'))%100 WHERE o >= 10; -- failed -- partitioned table children UPDATE t1p_ones SET o = 9; -- ok UPDATE t1p_ones SET o = ascii(COALESCE(p,'upd'))%10; -- ok UPDATE t1p_ones SET o = ascii(COALESCE(q,'upd'))%10; -- failed -UPDATE t1p_tens SET o = 99; -- ok +UPDATE t1p_tens SET o = 99; -- ok UPDATE t1p_tens SET o = ascii(COALESCE(p,'upd'))%100; -- ok UPDATE t1p_tens SET o = ascii(COALESCE(q,'upd'))%100; -- failed ---