Skip to content
Snippets Groups Projects
Commit 987c4f36 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

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
...@@ -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 EXCLUSIVE MODE; LOCK TABLE resource_allocation.resource_claim IN ACCESS SHARE 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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment