Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jun 19, 2012 at 9:47 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I thought the general idea was to use int32 most places, but int4 in
>> catalog declarations. I don't think it's tremendously important if
>> somebody uses the other though.
> I concur with Peter that TMTOWTDI is not the right way to do this. I
> think we ought to get rid of int4 in code and use int32 everywhere.
I have not looked to see how many places do that. If it's a reasonably
small number of places, I'm OK with getting rid of int4 at the C level.
(int2/int8 the same of course.)
If we are going to do that, though, we need to actually remove those
typedefs. Leaving them around on the grounds that third-party code
might be using them will just allow cases to creep back in.
regards, tom lane