TestConfiguration returns int, not bool. This mistake is relatively
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2003 20:33:09 +0000 (20:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2003 20:33:09 +0000 (20:33 +0000)
commita3da9d1d385c15c7c9c49020770b6cb067cbb527
tree6b79f8d2e349fc9efa434b18748b89d23443898c
parent0d79ddc7f4e72ab4b6fc20fa73acf753b0c0bb2d
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.
src/backend/storage/lmgr/deadlock.c