Re: 4D Geometry - Mailing list pgsql-hackers

From Chris Traylor
Subject Re: 4D Geometry
Date
Msg-id 1125952266.20160.98.camel@galileo
Whole thread Raw
In response to Re: 4D Geometry  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 4D Geometry
List pgsql-hackers
On Mon, 2005-09-05 at 15:27 -0400, Tom Lane wrote: <blockquote type="CITE"><pre>
<font color="#000000">Chris Traylor <<a href="mailto:ctraylor@phalanyx.com">ctraylor@phalanyx.com</a>>
writes:</font>
<font color="#000000">> 1.) Is anyone else currently working on this?</font>

<font color="#000000">No, and AFAIR no one has ever even asked for it.  I'm a little dubious</font>
<font color="#000000">about doubling the storage requirements for geometry data and likely</font>
<font color="#000000">creating backwards-compatibility issues to implement a feature that only</font>
<font color="#000000">you need.  I'd suggest keeping these as separate private types rather</font>
<font color="#000000">than expecting that a patch to replace the 2D types will be accepted.</font>
</pre></blockquote><br /> What do you think about making it a configure option, i.e. --enable-4D-geometry (default
false)?This way people who don't want/need the extra overhead don't have to deal with it, and those who want to use
postgresfor scientific/engineering/animation/etc apps (where 2D doesn't quite cut the mustard) can have it available to
them.I was thinking that it would allow a whole new set of applications to take advantage of the fact that postgres
providesnative geometric types. After all, you can use just about any db engine to handle geometric data with
traditionalsql and stored procedures. The point of the builtins is so you have a standard set of algorithms, and that
youdon't have to constantly reinvent the wheel. Like I said in my earlier message, I can patch the source for myself,
andgo about my merry way. The geometry portions really don't seem to change very frequently (the differences between
8.0.3,and 8.1beta were minimal), and except for the line stuff, the changes were trivial, so personal maintenance
shouldn'tbe a problem. I just thought I'd share my work.:-)<br /><br /><blockquote type="CITE"><pre> 

<font color="#000000">            regards, tom lane</font>

<font color="#000000">---------------------------(end of broadcast)---------------------------</font>
<font color="#000000">TIP 4: Have you searched our list archives?</font>

<font color="#000000">               <a href="http://archives.postgresql.org">http://archives.</a></font>postgresql.org
</pre></blockquote><table cellpadding="0" cellspacing="0" width="100%"><tr><td> Chris<br /><br /> --<br /> Sometimes I
wonderwhether the world is being run by smart people who are putting us on or by imbeciles who really mean it. -- Mark
Twain</td></tr></table> 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL configurable SSL key checking
Next
From: Martijn van Oosterhout
Date:
Subject: Install Darwin's locale library on your system :)