summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorThomas Munro2021-07-11 07:50:55 +0000
committerThomas Munro2021-07-11 08:08:02 +0000
commit0e39a608ed5545cc6b9d538ac937c3c1ee8cdc36 (patch)
treee1e276196fdc79556b64481b99bbbbeb08179250 /src/backend/access/gist/gistbuild.c
parentdd0e37cc1598050ec38fa289908487d4f5c96dca (diff)
Fix pgbench timestamp bugs.
Commit 547f04e changed pgbench to use microsecond accounting, but introduced a couple of logging and aggregation bugs: 1. We print Unix epoch timestamps so that you can correlate them with other logs, but these were inadvertently changed to use a system-dependent reference epoch. Compute Unix timestamps, and begin aggregation intervals on the boundaries of whole Unix epoch seconds, as before. 2. The user-supplied aggregation interval needed to be scaled. Back-patch to 14. Author: Fabien COELHO <[email protected]> Author: Yugo NAGATA <[email protected]> Author: Kyotaro Horiguchi <[email protected]> Reported-by: YoungHwan Joo <[email protected]> Reported-by: Gregory Smith <[email protected]> Discussion: https://postgr.es/m/CAF7igB1r6wRfSCEAB-iZBKxkowWY6%2BdFF2jObSdd9%2BiVK%2BvHJg%40mail.gmail.com Discussion: https://postgr.es/m/CAHLJuCW_8Vpcr0%3Dt6O_gozrg3wXXWXZXDioYJd3NhvKriqgpfQ%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions