From bd7e7e76803a6c9d85a392c321839f83160d20f8 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 10 May 2020 18:27:56 +0100 Subject: Replace datastore-fetch-input-builds-for-unprocessed-builds It worked under some database conditions, but was very slow under others. Move more of the logic in to SQL in an attempt to make the allocator faster. This sort of works, but there were some advantages to the approach before the approach being replaced in this commit. --- sqitch/pg/revert/build_results_result_index.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sqitch/pg/revert/build_results_result_index.sql (limited to 'sqitch/pg/revert') diff --git a/sqitch/pg/revert/build_results_result_index.sql b/sqitch/pg/revert/build_results_result_index.sql new file mode 100644 index 0000000..f92fd22 --- /dev/null +++ b/sqitch/pg/revert/build_results_result_index.sql @@ -0,0 +1,7 @@ +-- Revert guix-build-coordinator:build_results_result_index from pg + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; -- cgit v1.2.3