Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
987c4f36
Commit
987c4f36
authored
7 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
Task #10902: allow read access on claim table during rebuild_resource_usages_table_from_claims
parent
15d8ddaa
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/ResourceAssignment/ResourceAssignmentDatabase/radb/sql/add_functions_and_triggers.sql
+2
-2
2 additions, 2 deletions
...ssignmentDatabase/radb/sql/add_functions_and_triggers.sql
with
2 additions
and
2 deletions
SAS/ResourceAssignment/ResourceAssignmentDatabase/radb/sql/add_functions_and_triggers.sql
+
2
−
2
View file @
987c4f36
...
@@ -339,7 +339,7 @@ DECLARE
...
@@ -339,7 +339,7 @@ DECLARE
num_rows
bigint
;
num_rows
bigint
;
step
bigint
;
step
bigint
;
BEGIN
BEGIN
LOCK
TABLE
resource_allocation
.
resource_claim
IN
EXCLUSIV
E
MODE
;
LOCK
TABLE
resource_allocation
.
resource_claim
IN
ACCESS
SHAR
E
MODE
;
LOCK
TABLE
resource_allocation
.
resource_usage
IN
EXCLUSIVE
MODE
;
LOCK
TABLE
resource_allocation
.
resource_usage
IN
EXCLUSIVE
MODE
;
TRUNCATE
TABLE
resource_allocation
.
resource_usage
RESTART
IDENTITY
CASCADE
;
TRUNCATE
TABLE
resource_allocation
.
resource_usage
RESTART
IDENTITY
CASCADE
;
...
...
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