Re: Some architectures need "signed char" declarations - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Some architectures need "signed char" declarations
Date
Msg-id 14835.1010608206@sss.pgh.pa.us
Whole thread Raw
In response to Re: Some architectures need "signed char" declarations  (Doug Royer <Doug@royer.com>)
List pgsql-hackers
Doug Royer <Doug@royer.com> writes:
> And if the default for int or char is unsigned as it can
> be on some systems, the code does exactly that.

There are no systems where "int" means "unsigned int".  That would break
(to a first approximation) every C program in existence, as well as
violate the ANSI C specification.

The variables in question do need to be "int" not any flavor of "char",
but we don't need to say "signed int".
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: again on index usage
Next
From: "Marc G. Fournier"
Date:
Subject: pg_dump bug ... or not?