aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-01-12 19:23:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-01-12 19:23:22 +0000
commitdb0558c11347ad27a032e6efed509a6e99b52e67 (patch)
treec8c3b21776c722662b85ce936c07a410479ee523 /src/backend/access/gist/gistget.c
parent9484e14c5cb1370c79b743d825c447794f0d00b5 (diff)
downloadpostgresql-db0558c11347ad27a032e6efed509a6e99b52e67.tar.gz
postgresql-db0558c11347ad27a032e6efed509a6e99b52e67.zip
Use a more bulletproof test for whether finite() and isinf() are present.
It seems that recent gcc versions can optimize away calls to these functions even when the functions do not exist on the platform, resulting in a bogus positive result. Avoid this by using a non-constant argument and ensuring that the function result is not simply discarded. Per report from François Laupretre.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions