Don't call OwnLatch while holding a spinlock. OwnLatch can elog() under

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 1eab7a560d09fcd7314acd46ded955a37a262683
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2010-09-15T06:51:19Z
Releases: 9.1.0
Don't call OwnLatch while holding a spinlock. OwnLatch can elog() under
some "can't happen" scenarios, and spinlocks should only be held for
a few instructions anyway. As pointed out by Fujii Masao.

Files

PathChange+/−
src/backend/replication/walsender.c modified +6 −6