]> granicus.if.org Git - postgresql/commit
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)
commit3d1588cd3e34261746e7147ca8bae8b91b31d618
tree3a0ce04ca10916b1da26cf7ac2dc82983c26c07c
parent8472bf7a73487b0535c95e299773b882f7523463
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