TestConfiguration returns int, not bool. This mistake is relatively

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

Commit: 28afe6f8ef79a1b06abcf7d7c86f0eb179a71fb3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-03-31T20:33:09Z
Releases: 7.2.5
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