git.postgresql.org Git - postgresql.git/commit
2014年6月29日 15:08:04 +0000 (17:08 +0200)
2014年6月30日 08:49:39 +0000 (10:49 +0200)
commit 1cbc9480106241aaa8db112331e93d0a265b6db0
Check interrupts during logical decoding more frequently.
When reading large amounts of preexisting WAL during logical decoding
using the SQL interface we possibly could fail to check interrupts in
due time. Similarly the same could happen on systems with a very high
WAL volume while creating a new logical replication slot, independent
of the used interface.
Previously these checks where only performed in xlogreader's read_page
callbacks, while waiting for new WAL to be produced. That's not
sufficient though, if there's never a need to wait. Walsender's send
loop already contains a interrupt check.
Backpatch to 9.4 where the logical decoding feature was introduced.
This is the main PostgreSQL git repository.
RSS
Atom