Remove redundant DISTINCT from the derivation range INSERT query
This was redundant and slow, so don't do it.
This commit is contained in:
parent
994318782a
commit
60df7ecbf9
1 changed files with 5 additions and 5 deletions
|
|
@ -66,7 +66,7 @@ SELECT DISTINCT
|
||||||
OVER package_version AS last_guix_revision_id
|
OVER package_version AS last_guix_revision_id
|
||||||
FROM packages
|
FROM packages
|
||||||
INNER JOIN (
|
INNER JOIN (
|
||||||
SELECT DISTINCT package_derivations.package_id,
|
SELECT package_derivations.package_id,
|
||||||
package_derivations.derivation_id,
|
package_derivations.derivation_id,
|
||||||
package_derivations.system,
|
package_derivations.system,
|
||||||
package_derivations.target,
|
package_derivations.target,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue