Re: [SQL] line datatype

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tim Hart <tjhart(at)mac(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [SQL] line datatype
Date: 2002-07-16 15:29:46
Message-ID: 3D343BEA.1B51B9CD@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

...
> > 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-07-16 15:38:28 Re: [SQL] line datatype
Previous Message Bruce Momjian 2002-07-16 15:21:05 Re: [SQL] line datatype

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2002-07-16 15:38:28 Re: [SQL] line datatype
Previous Message Bruce Momjian 2002-07-16 15:21:05 Re: [SQL] line datatype