Re: more C99 cleanup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: more C99 cleanup
Date: 2025-11-21 16:10:47
Message-ID: 2204774.1763741447@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> I have a distinct recollection that this comment exists because we
> found that some platforms had a hypot() that got that edge case wrong.
> I don't object to proceeding on the assumption that they all conform
> to spec by now, but please make sure there's at least one regression
> test that will expose the problem if someplace doesn't. (A quick check
> would be to hot-wire pg_hypot to do the wrong thing and see if any
> existing test falls over. I think there is one, but let's verify.)

Ah, there are several. It's not totally obvious perhaps where the
cause is. I'll attach the diffs just for the archives' sake.

regards, tom lane

Attachment Content-Type Size
regression.diffs text/x-diff 3.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2025-11-21 16:14:04 Re: Allow GUC settings in CREATE SUBSCRIPTION CONNECTION to take effect
Previous Message Andres Freund 2025-11-21 16:10:14 Re: change default default_toast_compression to lz4?