Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
244f1c89
Commit
244f1c89
authored
Apr 10, 2017
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix whitespace
parent
511540da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
contrib/sepgsql/expected/dml.out
contrib/sepgsql/expected/dml.out
+2
-2
contrib/sepgsql/sql/dml.sql
contrib/sepgsql/sql/dml.sql
+2
-2
No files found.
contrib/sepgsql/expected/dml.out
View file @
244f1c89
...
@@ -257,7 +257,7 @@ ERROR: SELinux: security policy violation
...
@@ -257,7 +257,7 @@ ERROR: SELinux: security policy violation
---
---
-- partitioned table parent
-- partitioned table parent
UPDATE t1p SET o = 9 WHERE o < 10; -- ok
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(p,'upd'))%10 WHERE o < 10; -- ok
UPDATE t1p SET o = ascii(COALESCE(q,'upd'))%100 WHERE o >= 10; -- failed
UPDATE t1p SET o = ascii(COALESCE(q,'upd'))%100 WHERE o >= 10; -- failed
ERROR: SELinux: security policy violation
ERROR: SELinux: security policy violation
...
@@ -266,7 +266,7 @@ UPDATE t1p_ones SET o = 9; -- ok
...
@@ -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(p,'upd'))%10; -- ok
UPDATE t1p_ones SET o = ascii(COALESCE(q,'upd'))%10; -- failed
UPDATE t1p_ones SET o = ascii(COALESCE(q,'upd'))%10; -- failed
ERROR: SELinux: security policy violation
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(p,'upd'))%100; -- ok
UPDATE t1p_tens SET o = ascii(COALESCE(q,'upd'))%100; -- failed
UPDATE t1p_tens SET o = ascii(COALESCE(q,'upd'))%100; -- failed
ERROR: SELinux: security policy violation
ERROR: SELinux: security policy violation
...
...
contrib/sepgsql/sql/dml.sql
View file @
244f1c89
...
@@ -158,14 +158,14 @@ UPDATE t5 SET e = g || '_upd'; -- failed
...
@@ -158,14 +158,14 @@ UPDATE t5 SET e = g || '_upd'; -- failed
---
---
-- partitioned table parent
-- partitioned table parent
UPDATE
t1p
SET
o
=
9
WHERE
o
<
10
;
-- ok
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
(
p
,
'upd'
))
%
10
WHERE
o
<
10
;
-- ok
UPDATE
t1p
SET
o
=
ascii
(
COALESCE
(
q
,
'upd'
))
%
100
WHERE
o
>=
10
;
-- failed
UPDATE
t1p
SET
o
=
ascii
(
COALESCE
(
q
,
'upd'
))
%
100
WHERE
o
>=
10
;
-- failed
-- partitioned table children
-- partitioned table children
UPDATE
t1p_ones
SET
o
=
9
;
-- ok
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
(
p
,
'upd'
))
%
10
;
-- ok
UPDATE
t1p_ones
SET
o
=
ascii
(
COALESCE
(
q
,
'upd'
))
%
10
;
-- failed
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
(
p
,
'upd'
))
%
100
;
-- ok
UPDATE
t1p_tens
SET
o
=
ascii
(
COALESCE
(
q
,
'upd'
))
%
100
;
-- failed
UPDATE
t1p_tens
SET
o
=
ascii
(
COALESCE
(
q
,
'upd'
))
%
100
;
-- failed
---
---
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment