diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-09-15 10:35:05 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-09-15 10:35:05 +0000 |
commit | 723d0184e2972f21db0f85feef3d35f0cb9b3298 (patch) | |
tree | 0fc71e9bb51fc6f347f7ec630c71e3362d8e496d /src/backend/access/gist/gistget.c | |
parent | 236b6bc29e532822a366b56404ecaf1d906229bf (diff) | |
download | postgresql-723d0184e2972f21db0f85feef3d35f0cb9b3298.tar.gz |
Use a latch to make startup process wake up and replay immediately when
new WAL arrives via streaming replication. This reduces the latency, and
also allows us to use a longer polling interval, which is good for energy
efficiency.
We still need to poll to check for the appearance of a trigger file, but
the interval is now 5 seconds (instead of 100ms), like when waiting for
a new WAL segment to appear in WAL archive.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions