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
87d967f7
Commit
87d967f7
authored
Feb 02, 2011
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor sepgsql regression test fixes.
parent
c7689ee7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
contrib/sepgsql/.gitignore
contrib/sepgsql/.gitignore
+2
-0
contrib/sepgsql/expected/dml.out
contrib/sepgsql/expected/dml.out
+2
-1
contrib/sepgsql/sql/dml.sql
contrib/sepgsql/sql/dml.sql
+2
-1
No files found.
contrib/sepgsql/.gitignore
View file @
87d967f7
...
...
@@ -3,3 +3,5 @@
/sepgsql-regtest.if
/sepgsql-regtest.pp
/tmp
# Generated subdirectories
/results/
contrib/sepgsql/expected/dml.out
View file @
87d967f7
...
...
@@ -34,7 +34,8 @@ SECURITY LABEL ON FUNCTION customer_credit(int)
SELECT objtype, objname, label FROM pg_seclabels
WHERE provider = 'selinux'
AND objtype in ('table', 'column')
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g');
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g')
ORDER BY objname;
objtype | objname | label
---------+---------+---------------------------------------------
table | t1 | system_u:object_r:sepgsql_table_t:s0
...
...
contrib/sepgsql/sql/dml.sql
View file @
87d967f7
...
...
@@ -40,7 +40,8 @@ SECURITY LABEL ON FUNCTION customer_credit(int)
SELECT
objtype
,
objname
,
label
FROM
pg_seclabels
WHERE
provider
=
'selinux'
AND
objtype
in
(
'table'
,
'column'
)
AND
objname
in
(
't1'
,
't2'
,
't3'
,
't4'
,
't5'
,
't5.e'
,
't5.f'
,
't5.g'
);
AND
objname
in
(
't1'
,
't2'
,
't3'
,
't4'
,
't5'
,
't5.e'
,
't5.f'
,
't5.g'
)
ORDER
BY
objname
;
-- Hardwired Rules
UPDATE
pg_attribute
SET
attisdropped
=
true
...
...
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