Re: ECPG SQLDA support
Alvaro Herrera <alvherre@commandprompt.com>
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Boszormenyi Zoltan <zb@cybertec.at>
Cc: Michael Meskes <meskes@postgresql.org>, pgsql-hackers@postgresql.org, Hans-Juergen Schoenig <hs@cybertec.at>
Date: 2010-01-04T18:59:59Z
Lists: 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.