diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-06-29 00:51:34 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-06-29 00:51:34 -0400 |
commit | ae90128dc5f8412c8ce31804bbf0a0f8ab345db1 (patch) | |
tree | cfae91a11bc0f5e5ac3a27fd1ad12cfbe6241325 /src/backend/access/gist/gist.c | |
parent | 9e26326ad6cd11ac32d11e6cbeb613443f361da6 (diff) | |
download | postgresql-ae90128dc5f8412c8ce31804bbf0a0f8ab345db1.tar.gz postgresql-ae90128dc5f8412c8ce31804bbf0a0f8ab345db1.zip |
Fix NOTIFY to cope with I/O problems, such as out-of-disk-space.
The LISTEN/NOTIFY subsystem got confused if SimpleLruZeroPage failed,
which would typically happen as a result of a write() failure while
attempting to dump a dirty pg_notify page out of memory. Subsequently,
all attempts to send more NOTIFY messages would fail with messages like
"Could not read from file "pg_notify/nnnn" at offset nnnnn: Success".
Only restarting the server would clear this condition. Per reports from
Kevin Grittner and Christoph Berg.
Back-patch to 9.0, where the problem was introduced during the
LISTEN/NOTIFY rewrite.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions