]> granicus.if.org Git - postgresql/commit
Don't assume that 'char' is signed.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 27 Jul 2015 18:48:51 +0000 (21:48 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 27 Jul 2015 18:51:25 +0000 (21:51 +0300)
commit5533a272ddecff18f16e9b6c307dcb2e130538f4
tree2ae595621a1f8ab2a5c93750d34741afff2d9628
parentd7fd22a38ff48372c6813983317fc8d1e07fcf87
Don't assume that 'char' is signed.

On some platforms, notably ARM and PowerPC, 'char' is unsigned by
default. This fixes an assertion failure at WAL replay on such platforms.

Reported by Noah Misch. Backpatch to 9.5, where this was broken.
src/include/access/spgist_private.h