aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/typecmds.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
commitee0ab275408f8fc10eedd7fb8c767cdbad0cb57b (patch)
treea1d14cd51a732f61ef814c1f519b3138074d591c /src/backend/commands/typecmds.c
parent1f349aa7d9a6633e87db071390c73a39ac279ba4 (diff)
downloadpostgresql-ee0ab275408f8fc10eedd7fb8c767cdbad0cb57b.tar.gz
postgresql-ee0ab275408f8fc10eedd7fb8c767cdbad0cb57b.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/commands/typecmds.c')
0 files changed, 0 insertions, 0 deletions