Re: ECPG SQLDA support
От | Alvaro Herrera |
---|---|
Тема | Re: ECPG SQLDA support |
Дата | |
Msg-id | 20100104185959.GM3778@alvh.no-ip.org обсуждение исходный текст |
Ответ на | ECPG SQLDA support (Boszormenyi Zoltan <zb@cybertec.at>) |
Ответы |
Re: ECPG SQLDA support
Re: ECPG SQLDA support |
Список | pgsql-hackers |
Boszormenyi Zoltan wrote: I happened to notice this by chance: > + #if (LONG_BIT == 64) > + #define SQLINT8 ECPGt_long > + #define SQLSERIAL8 ECPGt_long > + #else > + #define SQLINT8 ECPGt_long_long > + #define SQLSERIAL8 ECPGt_long_long > + #endif I'm not sure how portable is the LONG_BIT business. We don't seem to use it anywhere else (hmm, but then we do use CHAR_BIT elsewhere) -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления: