aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/parallel.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2018-08-31 22:59:58 -0700
committerNoah Misch <noah@leadboat.com>2018-08-31 23:00:01 -0700
commit1664c8b300e345158b007eba2c6879e7bde74cc8 (patch)
tree1b5fc27f7d9530ba45c167aff56a9c7f5a050eed /src/backend/access/transam/parallel.c
parent2c8cff5dd60b372654eda4dba72b1cea2e91f0f0 (diff)
downloadpostgresql-1664c8b300e345158b007eba2c6879e7bde74cc8.tar.gz
postgresql-1664c8b300e345158b007eba2c6879e7bde74cc8.zip
Ignore server-side delays when enforcing wal_sender_timeout.
Healthy clients of servers having poor I/O performance, such as buildfarm members hamster and tern, saw unexpected timeouts. That disagreed with documentation. This fix adds one gettimeofday() call whenever ProcessRepliesIfAny() finds no client reply messages. Back-patch to 9.4; the bug's symptom is rare and mild, and the code all moved between 9.3 and 9.4. Discussion: https://postgr.es/m/20180826034600.GA1105084@rfd.leadboat.com
Diffstat (limited to 'src/backend/access/transam/parallel.c')
0 files changed, 0 insertions, 0 deletions