Re: ECPG SQLDA support
От | Boszormenyi Zoltan |
---|---|
Тема | Re: ECPG SQLDA support |
Дата | |
Msg-id | 4B4244BB.6040601@cybertec.at обсуждение исходный текст |
Ответ на | Re: ECPG SQLDA support (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
Tom Lane írta: > Alvaro Herrera <alvherre@commandprompt.com> writes: > >> I'm not sure how portable is the LONG_BIT business. >> > > I think checking SIZEOF_LONG would be preferred, since that's what > we use elsewhere. Although actually I wonder why this code exists > at all --- wouldn't it be easier to make these depend on "int64"? > > regards, tom lane > Don't ask me why ECPGt_long_long and ECPGt_unsigned_long_long exist. But they do, and the libecpg code has some #ifdef HAVE_LONG_LONG_INT_64 surrounding code handling them. Maybe it would've been better to be consistent with that coding. -- Bible has answers for everything. Proof: "But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil." (Matthew 5:37) - basics of digital technology. "May your kingdom come" - superficial description of plate tectonics ---------------------------------- Zoltán Böszörményi Cybertec Schönig & Schönig GmbH http://www.postgresql.at/
В списке pgsql-hackers по дате отправления: