Make earthdistance use version-0 calling convention if not USE_FLOAT8_BYVAL,

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

Commit: 3d1588cd3e34261746e7147ca8bae8b91b31d618
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-04-21T01:11:43Z
Releases: 8.4.0
Make earthdistance use version-0 calling convention if not USE_FLOAT8_BYVAL,
and version-1 if USE_FLOAT8_BYVAL.  This might seem a bit pointless, but the
idea is to have at least one regression test that will fail if we ever
accidentally break version-0 functions that return float8.  However, they're
already broken, or at least hopelessly unportable, in the USE_FLOAT8_BYVAL
case.

Per a recent suggestion from Greg Stark.

Files

PathChange+/−
contrib/earthdistance/earthdistance.c modified +56 −14