Re: more C99 cleanup
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-11-21T16:10:47Z
Lists: pgsql-hackers
Attachments
- regression.diffs (text/x-diff) patch
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
Commits
-
Update comment related to C99
- 376c649634bb 19 (unreleased) landed
-
Fix pg_isblank()
- 8b3e2c622a85 19 (unreleased) landed
-
Replace internal C function pg_hypot() by standard hypot()
- 8fe4aef8297b 19 (unreleased) landed
-
Remove obsolete comment
- c581c9a7ac2a 19 (unreleased) landed
-
Report timezone offset in pg_dump/pg_dumpall
- ad5d46a4494b 9.5.0 cited