]> git.ipfire.org Git - thirdparty/postgresql.git/commit
TestConfiguration returns int, not bool. This mistake is relatively
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2003 20:32:50 +0000 (20:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2003 20:32:50 +0000 (20:32 +0000)
commit28295da0a52fa4ca1c9365d390f2e8265dedeebf
tree0fc518dfabd5639aa877cf14dacd89745170f86c
parentba4de4e06a28c1d3962cf9db34612aad504150ec
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