diff options
author | Fujii Masao <fujii@postgresql.org> | 2020-05-08 10:36:40 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2020-05-08 10:38:45 +0900 |
commit | cc534fc3b289b4ec199705733120a55252442f5a (patch) | |
tree | 1df8d19062839d54ac05feb9d55b4cd956d45617 /src/backend/access/gist/gist.c | |
parent | 5db48808c4d5c3641b76d442ba7e7d8916adadf4 (diff) | |
download | postgresql-cc534fc3b289b4ec199705733120a55252442f5a.tar.gz postgresql-cc534fc3b289b4ec199705733120a55252442f5a.zip |
Report missing wait event for timeline history file.
TimelineHistoryRead and TimelineHistoryWrite wait events are reported
during waiting for a read and write of a timeline history file, respectively.
However, previously, TimelineHistoryRead wait event was not reported
while readTimeLineHistory() was reading a timeline history file. Also
TimelineHistoryWrite was not reported while writeTimeLineHistory() was
writing one line with the details of the timeline split, at the end.
This commit fixes these issues.
Back-patch to v10 where wait events for a timeline history file was added.
Author: Masahiro Ikeda
Reviewed-by: Michael Paquier, Fujii Masao
Discussion: https://postgr.es/m/d11b0c910b63684424e06772eb844ab5@oss.nttdata.com
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions