Re: PRI?64 vs Visual Studio (2022) - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: PRI?64 vs Visual Studio (2022)
Date
Msg-id CA+hUKG+BpW=KhGHTWGMe0cSETMYZsSygv5jFWD1Y6wcbAn2ecQ@mail.gmail.com
Whole thread Raw
In response to Re: PRI?64 vs Visual Studio (2022)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PRI?64 vs Visual Studio (2022)
List pgsql-hackers
On Sun, Nov 23, 2025 at 4:25 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thomas Munro <thomas.munro@gmail.com> writes:
> > That'd leave only Cygwin with HAVE BUGGY_STRTOF.  Perhaps they have
> > fixed their implementation[1]?  Here's an experimental patch to drop
> > all remnants, which could be used to find out.  No Windows/Cygwin
> > here.  Hmm, what if we just commit it anyway?  If their strtof() is
> > still broken and someone out there is running the tests and sees this
> > test fail, why shouldn't they take that up with libc at this stage?
>
> Hmm, we could get rid of the whole resultmap mechanism ...

Yeah.  I thought I'd see what blowback my
if-Cygwin-strtof()-really-is-still-broken-they-should-fix-it argument
attracted before spending the time to nuke all those lines too.
Here's that patch.  We could always revert resultmap we found a new
reason to need it, but I hope we wouldn't.

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Adjust comments for `IndexOptInfo` to accurately reflect indexcollations's length
Next
From: Andreas Karlsson
Date:
Subject: Remove header lock BufferGetLSNAtomic() on architectures with 64 bit atomic operations