guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: Fix counting derivations when there are lots


From: Christopher Baines
Subject: 01/05: Fix counting derivations when there are lots
Date: Thu, 9 Mar 2023 04:18:18 -0500 (EST)

cbaines pushed a commit to branch master
in repository data-service.

commit e9ccb66225f16880a331355a7923556791debd05
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu Mar 9 08:17:14 2023 +0000

    Fix counting derivations when there are lots
---
 guix-data-service/jobs/load-new-guix-revision.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix-data-service/jobs/load-new-guix-revision.scm 
b/guix-data-service/jobs/load-new-guix-revision.scm
index b2fa6cc..7eb4425 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -2171,7 +2171,7 @@ SKIP LOCKED")
 
               (match (exec-query
                       conn
-                      "SELECT reltuples::integer FROM pg_class WHERE relname = 
'derivation_inputs'")
+                      "SELECT reltuples::bigint FROM pg_class WHERE relname = 
'derivation_inputs'")
                 (((rows))
                  ;; Don't attempt counting distinct values if there are too
                  ;; many rows, as that is far to slow and could use up all the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]