```suggestion
create index executions_labels ON executions USING GIN(value -> 'labels');
``` The first couple of parenthesis is for declaring the columns of the index, the second couple is the special way to define a column as a JSON Path. So both are needed. :+1: 
Add index on execution labels
jdbc-postgres/src/main/resources/migrations/postgres/V19__index_execution-labels.sql
diff --git a/jdbc-postgres/src/main/resources/migrations/postgres/V19__index_execution-labels.sql b/jdbc-postgres/src/main/resources/migrations/postgres/V19__index_execution-labels.sql
new file mode 100644
index 0000000000..b95bf43880
--- /dev/null
+++ b/jdbc-postgres/src/main/resources/migrations/postgres/V19__index_execution-labels.sql
@@ -0,0 +1,1 @@
+create index executions_labels ON executions USING GIN((value -> 'labels'));
\ No newline at end of file
