Earthdistance update for 7.4 - depends on recent cube patches

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: pgsql-patches(at)postgresql(dot)org
Subject: Earthdistance update for 7.4 - depends on recent cube patches
Date: 2003-01-26 05:43:50
Message-ID: 20030126054350.GA12864@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

The attached patches change earthdistance to use the new cube functions
in one of the earth functions so that latitude and longitude to
cartesian coordinates conversion will be more accurrate. (Previously
a text string was built to provide as input which limited the accuracy
to the number of digits printed.)

The new functions were included in a recent patch to contrib/cube that has not
as yet been accepted as of yet.

I also added check constraints to the domain 'earth' since they are now
working in 7.4.

Attachment Content-Type Size
earth.diff text/plain 5.3 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Rod Taylor 2003-01-26 13:21:52 Re: domain check constraint syntax problem for 7.4
Previous Message Bruno Wolff III 2003-01-26 05:17:30 Re: domain check constraint syntax problem for 7.4