AW: int4 or int32
AW: int4 or int32
От:
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>
Дата:
> There were only a few to fix, so I fixed them. > > > Peter Eisentraut writes: > > > Which one of these should we use? > > > int4 is a data type, int32 isn't. c.h has DatumGetInt8, but no > > > DatumGetInt64; it also has DatumGetInt32 but no > DatumGetInt4. fmgr has Wait a sec ! The patch to timestamp.h and date.h replaces int4 with int instead of int32. At least the timestamp.h struct is on disk stuff, thus the patch is not so good :-) Andreas
Re: AW: int4 or int32
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
[ Charset ISO-8859-1 unsupported, converting... ] > > > There were only a few to fix, so I fixed them. > > > > > Peter Eisentraut writes: > > > > Which one of these should we use? > > > > int4 is a data type, int32 isn't. c.h has DatumGetInt8, but no > > > > DatumGetInt64; it also has DatumGetInt32 but no > > DatumGetInt4. fmgr has > > Wait a sec ! > The patch to timestamp.h and date.h replaces int4 with int instead of int32. > At least the timestamp.h struct is on disk stuff, thus the patch is not so good :-) Fixed to int32 now. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026