Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@

-- Grab locks on all tables we are going to touch; otherwise, concurrently
-- running operations might cause deadlocks
lock table subgraphs.subgraph_deployment in access exclusive mode;
lock table subgraphs.subgraph_manifest in access exclusive mode;
lock table subgraphs.subgraph_error in access exclusive mode;
lock table subgraphs.table_stats in access exclusive mode;
lock table subgraphs.copy_state in access exclusive mode;

create table subgraphs.head (
id int4 primary key,
entity_count int8 not null,
Expand Down
Loading