d8cc0bbb5db11cbf18633c7be123e96a630e78ab
faster, from about 4.5s to 1.0s for the global "latest" channel. Note that the query is only fast if the "IndexBuildsOnJob" and "IndexBuildsOnJobAndIsCurrent" indices are dropped - if they exist, PostgreSQL will use those instead of the more efficient "IndexBuildsOnJobFinishedId" index. Looks like a bug in the planner to me...
Description
Hydra, the Nix-based continuous build system
Languages
Perl
71%
C++
15.5%
Nix
5.6%
PLpgSQL
3%
Shell
2.2%
Other
2.7%