mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Fix stats collections in some cases.
Calling a -with-timing from within a with-stats-collection macro is redundant and will have the numbers counted twice. Which in this case didn't happen because the stats label was manually copied, but borked with a typo in one copy.
This commit is contained in:
parent
0b06bc6ad6
commit
f2dcf982d8
@ -315,11 +315,10 @@
|
||||
(lp:end-kernel :wait t))
|
||||
|
||||
;; turn unique indexes into pkeys now
|
||||
(with-stats-collection ("Constraints" :section section)
|
||||
(pgsql-connect-and-execute-with-timing target
|
||||
section
|
||||
"Constrants"
|
||||
pkeys)))))))
|
||||
(pgsql-connect-and-execute-with-timing target
|
||||
section
|
||||
"Constraints"
|
||||
pkeys))))))
|
||||
|
||||
|
||||
;;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user