Re: [SQL] line datatype - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [SQL] line datatype
Date
Msg-id 3D348526.CC9594FD@fourpalms.org
Whole thread Raw
In response to Re: [SQL] line datatype  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [SQL] line datatype  (Lamar Owen <lamar.owen@wgcr.org>)
List pgsql-hackers
> >> No one likes entering an equation.  Two points seems the simplest.
> > That it does.
> On the other hand, if you want to enter two points why don't you just
> use lseg to begin with?  There's not much justification for having a
> separate line type unless it behaves differently ...

They are different. One is infinite in length, the other is finite.
Distances, etc are calculated differently between the two types.
                 - Thomas


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Issues Outstanding for Point In Time Recovery (PITR)
Next
From: Lamar Owen
Date:
Subject: Re: [SQL] line datatype