TestConfiguration returns int, not bool. This mistake is relatively

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

Commit: 28295da0a52fa4ca1c9365d390f2e8265dedeebf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-03-31T20:32:50Z
Releases: 7.3.3
TestConfiguration returns int, not bool.  This mistake is relatively
harmless on signed-char machines but would lead to core dump in the
deadlock detection code if char is unsigned.  Amazingly, this bug has
been here since 7.1 and yet wasn't reported till now.  Thanks to Robert
Bruccoleri for providing the opportunity to track it down.

Files

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