Thread: pgsql: Make earthdistance use version-0 calling convention if not

pgsql: Make earthdistance use version-0 calling convention if not

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/contrib/earthdistance:
        earthdistance.c (r1.14 -> r1.15)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/earthdistance/earthdistance.c?r1=1.14&r2=1.15)