David, Mike,<div><br></div><div>thank you very much for this spot-on information!</div><div><br></div><div>I have two follow-up questions: </div><div><br></div><div>1/ is there an estimated release date for pg 9.2? (in its stead: are Postgres pre-release versions usually 'stable enough' - I am in an explorative setting, rock-solid stability is not yet needed).<br clear="all">
<br></div><div>2/ do these functions work with sets of intervals? I found an older post about an extension that seems to care for that</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://scottrbailey.wordpress.com/2009/10/06/timespan_sets/">http://scottrbailey.wordpress.com/2009/10/06/timespan_sets/</a> </div>
<div><br></div><div>and I am concerned about how to do that efficiently (i.e. without a double loop on A intervals and B intervals).</div><div><br></div><div>Thanks again,</div><div><br></div><div>-á.<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 25, 2012 at 22:43, Mike Toews <span dir="ltr"><<a href="mailto:mwtoews@gmail.com" target="_blank">mwtoews@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 26 April 2012 07:41, David William Bitner <<a href="mailto:bitner@gyttja.org">bitner@gyttja.org</a>> wrote:<br>
> If you follow PostgreSQL development, you can see that 9.2 is bringing a<br>
> whole suite of range data types for dealing with one dimensional intervals<br>
> with the same expressivity as PostGIS. Not there yet, but coming soon....<br>
<br>
</div>Yup, I'll certainly agree with David's suggestion of the new range<br>
type for 9.2. You can define integer ranges using int4range. The range<br>
type shares some of the same DB technology as PostGIS, such as GiST<br>
indices, so it is sort-of a 1D version of PostGIS.<br>
<br>
A really good article describing the upcoming range type is at:<br>
<a href="http://www.depesz.com/2011/11/07/waiting-for-9-2-range-data-types/" target="_blank">http://www.depesz.com/2011/11/07/waiting-for-9-2-range-data-types/</a><br>
<span class="HOEnZb"><font color="#888888"><br>
-Mike<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br></div></div>