Use IEEE infinity, not 1e10, for null-and-not-null case in gistpenalty().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9f4563f743eab0682f908d51fa3a9c630b31322d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-11-27T22:12:54Z
Releases: 9.2.0
Use IEEE infinity, not 1e10, for null-and-not-null case in gistpenalty().

Use of a randomly chosen large value was never exactly graceful, and
now that there are penalty functions that are intentionally using infinity,
it doesn't seem like a good idea for null-vs-not-null to be using something
less.

Files

PathChange+/−
src/backend/access/gist/gistutil.c modified +5 −2