Skip site navigation (1) Skip section navigation (2)

Re: BUG #4551: Implementation of the "line" type..

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Cc: "Barry Sanford" <barry(dot)sanford(at)trimjoist(dot)com>
Subject: Re: BUG #4551: Implementation of the "line" type..
Date: 2008-11-28 14:57:55
Message-ID: 200811281657.56372.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-bugs
On Friday 28 November 2008 15:31:51 Barry Sanford wrote:
> looking at PostgreSQL, I noticed that you have various geometric data types
> as standard.  However, I was somewhat surprised that you are attempting to
> implement the 'line' type via a two point scheme.  While this is okay for
> line segments, it totally sucks for infinite lines in a plane or space. 

Well, it's the way Euclid defined it.  (Yes, PostgreSQL is really 
old ... ;-) )

No really, the built-in geometry types are considered kind of legacy.  If you 
want to deal with something more modern, you may want to look into PostGIS.

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2008-11-28 16:27:34
Subject: Re: BUG #4551: Implementation of the "line" type..
Previous:From: Barry SanfordDate: 2008-11-28 13:31:51
Subject: BUG #4551: Implementation of the "line" type..

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group