| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Boszormenyi Zoltan <zb(at)cybertec(dot)at> |
| Cc: | Michael Meskes <meskes(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org, Hans-Juergen Schoenig <hs(at)cybertec(dot)at> |
| Subject: | Re: ECPG SQLDA support |
| Date: | 2010-01-04 18:59:59 |
| Message-ID: | 20100104185959.GM3778@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2010-01-04 19:07:17 | Re: patch - per-tablespace random_page_cost/seq_page_cost |
| Previous Message | Robert Haas | 2010-01-04 18:55:27 | Re: patch - per-tablespace random_page_cost/seq_page_cost |