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

From Thomas Lockhart
Subject Re: [SQL] line datatype
Date
Msg-id 3D343BEA.1B51B9CD@fourpalms.org
Whole thread Raw
In response to Re: [SQL] line datatype  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [SQL] line datatype
Re: [SQL] line datatype
List pgsql-hackers
...
> > We do need a solution for exact dump/reload of floating-point data,
> > but I don't see why the lack of it should be reason to disable access
> > to the LINE type.
> I don't understand why dumping the two point values isn't sufficient.

Which two point values? LINE is handled as an equation, not as points,
unlike the LSEG type which has two points.

One possibility is to have the external representation *be* the same as
LSEG, then convert internally. Then we need to decide how to scale those
points; maybe always using a unit vector is the right thing to do...
                    - Thomas


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [SQL] line datatype
Next
From: Bruce Momjian
Date:
Subject: Re: [SQL] line datatype