I just noticed that path_distance() in geo_ops.c (the "<->" operator
for path datatype) claims to be computing the minimum distance between
any two line segments of the two paths, but actually it's computing the
maximum such distance.

Isn't this broken?

			regards, tom lane

Sat, 29 Jul 2000 00:39:17 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Hmm ... shouldn't path_distance be MIN distance not MAX distance?
> I just noticed that path_distance() in geo_ops.c (the "<->" operator
> for path datatype) claims to be computing the minimum distance between
> any two line segments of the two paths, but actually it's computing the
> maximum such distance.
> Isn't this broken?

Sure sounds like it :(

                  - Thomas

Mon, 31 Jul 2000 05:26:50 +0000
Thomas Lockhart <lockhart@alumni.caltech.edu>
Re: [HACKERS] Hmm ... shouldn't path_distance be MIN distance not MAX
	distance?