Optimized bounds computation will fail (and bring the current transaction down) 
if the index statistics are not up to date
--------------------------------------------------------------------------------------------------------------------------

                 Key: GEOT-3477
                 URL: http://jira.codehaus.org/browse/GEOT-3477
             Project: GeoTools
          Issue Type: Bug
    Affects Versions: 2.7-RC2
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.7.0


Running something like
select AsText(force_2d(Envelope(ST_Estimated_Extent('public', 'pgstates', 
'the_geom'))));
on a freshly imported table will fail because the optimizer statistics are not 
up.

The code should protect the current transaction and nicely fall back on 
envelope aggregation in that case.
Something similar can happen for Oracle


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to