Make earthdistance use version-0 calling convention if not USE_FLOAT8_BYVAL,
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Apr 2008 01:11:43 +0000 (01:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Apr 2008 01:11:43 +0000 (01:11 +0000)
commit51301fad6c6d6dbfb15a1ca7ab2cbc6a3523f39a
treee466370f379585b472b1fbf50e715d808d333753
parenta36faede933b8449d820b62291692018a61f353e
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.
contrib/earthdistance/earthdistance.c