Thread: pgsql: Don't assume that 'char' is signed.

pgsql: Don't assume that 'char' is signed.

From
Heikki Linnakangas
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5533a272ddecff18f16e9b6c307dcb2e130538f4

Modified Files
--------------
src/include/access/spgist_private.h |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)