diff options
author | David Rowley <drowley@postgresql.org> | 2025-10-08 12:07:17 +1300 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2025-10-08 12:07:17 +1300 |
commit | 3bf905692c9db5309c5cd4c0dec7ec17ab8c7af1 (patch) | |
tree | da211422a29226d0d1a2bd3dd529bba4de2e14c7 /src/backend/access/gin/gininsert.c | |
parent | 64095d157482136ee609586266f8a37467c69bde (diff) |
Cleanup INFINITY code in float.h
The INFINITY macro is always defined per C99 standard, so this should
mean we can now get rid of the workaround code for when that macro isn't
defined.
Also, delete the (now unneeded) #pragma code which was disabling a
compiler warning in MSVC. There was a comment explaining why the #pragma
was placed outside the function body to work around a MSVC compiler bug,
but the link explaining that was dead, as reported by jian he.
Author: David Rowley <dgrowleyml@gmail.com>
Reported-by: jian he <jian.universality@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CACJufxGARYETnNwtCK7QC0zE_7gq-tfN0mME=gT5rTNtC=VSHQ@mail.gmail.com
Diffstat (limited to 'src/backend/access/gin/gininsert.c')
0 files changed, 0 insertions, 0 deletions