Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
244f1c89
Commit
244f1c89
authored
7 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
Fix whitespace
parent
511540da
No related branches found
Branches containing commit
Tags
REL8_3_RC1
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/sepgsql/expected/dml.out
+2
-2
2 additions, 2 deletions
contrib/sepgsql/expected/dml.out
contrib/sepgsql/sql/dml.sql
+2
-2
2 additions, 2 deletions
contrib/sepgsql/sql/dml.sql
with
4 additions
and
4 deletions
contrib/sepgsql/expected/dml.out
+
2
−
2
View file @
244f1c89
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
contrib/sepgsql/sql/dml.sql
+
2
−
2
View file @
244f1c89
...
...
@@ -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
---
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment