Fix counting derivations when there are lots
This commit is contained in:
parent
a6f239fb8a
commit
e9ccb66225
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue