Re: 64 bit numbers vs format strings

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: 64 bit numbers vs format strings
Date: 2025-03-28 13:55:52
Message-ID: 1db9b948-3224-4891-8318-6ab3170a5057@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02.03.25 22:08, Thomas Munro wrote:
> And one more thing like that: in a couple of places we see warnings on
> macOS CI that I'd missed: when printing the result of i64abs() as
> PRId64, because it happens to use labs() and it happens to define
> int64_t as long long, [...]. I
> suppose we should cast to int64 in the definition of c.h's i64abs()
> macro

I have committed a fix for that.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-03-28 14:06:01 Re: Buffer overflow in zic
Previous Message Robert Haas 2025-03-28 13:28:27 Re: making EXPLAIN extensible