From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
Cc: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Japin Li <japinli(at)hotmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Cannot find a working 64-bit integer type on Illumos |
Date: | 2024-11-29 19:30:41 |
Message-ID: | CA+hUKGLgPoPLhXmgSgZ0KTaSchddJM=KhpzLWn8kgT5E_tgsdQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Nov 29, 2024 at 11:12 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> WIP patch attached.
Slightly better version. I'd missed some configure stuff that could
be removed, and tidied up a few minor typos and mistakes.
I was thinking about that ECPG stuff: I bet real applications prefer
to use int64_t etc directly too instead of long, the worst type in C.
I wondered if the embedded SQL standard might know about that these
days (ECPGt_int64_t?), but I don't have the standard to hand. DB2's
embedded SQL seems to have a type sqlint64, but I didn't look too
closely and of course even if we wanted to do something like that as
an optional API option, that'd be a later change.
BTW I forgot to mention earlier, I peeked at the source of gettext on
NetBSD and illumos, and both appear to handle those special
<inttypes.h> tokens when loading message catalogues.
Attachment | Content-Type | Size |
---|---|---|
v5-0001-Use-stdint.h-and-inttypes.h-for-integer-types.patch | application/octet-stream | 51.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-11-29 19:44:25 | Re: Converting SetOp to read its two inputs separately |
Previous Message | Jim Jones | 2024-11-29 19:12:44 | Re: Truncate logs by max_log_size |