Use an always-there test, not an Assert, to check for overrun of

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e794dfa51144574dfbf51716c22116d03c7da7ca
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-04-08T03:43:54Z
Releases: 8.1.0
Use an always-there test, not an Assert, to check for overrun of
the held_lwlocks[] array.  Per Qingqing Zhou.

Files

PathChange+/−
src/backend/storage/lmgr/lwlock.c modified +5 −3