From: Ioseph Kim <pgsql-kr@postgresql.kr>
To: pgsql-docs@lists.postgresql.org
Subject: Re: patch earthdistance.sgml (add geo_distance function description)
Date: Tue, 29 Jan 2019 01:54:24 +0900
Message-ID: <20190128165424.zdamrzhmsxakczwm@postgresql.kr> (raw)
In-Reply-To: <20190128161249.o6zzkwcwc22aexp7@postgresql.kr>
References: <20190128161249.o6zzkwcwc22aexp7@postgresql.kr>
Sorry, Ignore this patch.
I was confused with cube-based distance and point-based distance.
On Tue, Jan 29, 2019 at 01:12:49AM +0900, Ioseph Kim wrote:
> $ diff -urN earthdistance.sgml.orig earthdistance.sgml
> --- earthdistance.sgml.orig 2019-01-29 00:59:46.066302968 +0900
> +++ earthdistance.sgml 2019-01-29 01:07:56.814501839 +0900
> @@ -120,6 +120,13 @@
> </entry>
> </row>
> <row>
> + <entry><function>geo_distance(point, point)</function><indexterm><primary>geo_distance</primary></indexterm></entry>
> + <entry><type>float8</type></entry>
> + <entry>Returns distance between the points in miles on earth's surface. A
> + point is composed with longitude(x) and latitude(y).
> + </entry>
> + </row>
> + <row>
> <entry><function>earth_box(earth, float8)</function><indexterm><primary>earth_box</primary></indexterm></entry>
> <entry><type>cube</type></entry>
> <entry>Returns a box suitable for an indexed search using the cube
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: pgsql-kr@postgresql.kr, pgsql-docs@lists.postgresql.org
Subject: Re: patch earthdistance.sgml (add geo_distance function description)
In-Reply-To: <20190128165424.zdamrzhmsxakczwm@postgresql.kr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox