Dimitri Fontaine 8254d63453 Fix incorrect per-table total time metrics.
The concurrency nature of pgloader made it non obvious where to implement
the timers properly, and as a result the tracking of how long it took to
actually transfer the data was... just wrong.

Rather than trying to measure the time spent in any particular piece of the
code, we now emit "start" and "stop" stats messages to the monitor thread at
the right places (which are way easier to find, in the worker threads) and
have the monitor figure out how long it took really.

Fix #506.
2017-04-30 18:09:50 +02:00
..
2016-01-11 21:29:29 +01:00
2017-01-23 21:52:38 +01:00
2016-09-17 22:45:45 +02:00
2016-01-11 01:27:36 +01:00
2016-09-17 22:45:45 +02:00