From 5b9e019d95a7d95e53c6a4ca789ccd5b73b0e94f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 8 Dec 2011 13:35:31 +0000 Subject: [PATCH] Add a note about ST_Estimated_Extent on empty or non-analyzed tables (#877) git-svn-id: http://svn.osgeo.org/postgis/trunk@8321 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_misc.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/reference_misc.xml b/doc/reference_misc.xml index a23759f70..893e06049 100644 --- a/doc/reference_misc.xml +++ b/doc/reference_misc.xml @@ -201,9 +201,20 @@ all_em|grabone | grab_rest ANALYZE and resulting extent will be about 95% of the real one. + + +In absence of statistics (empty table or no ANALYZE called) this function +returns NULL. Prior to version 1.5.4 an exception was thrown +instead. + + + + For PostgreSQL<8.0.0 statistics are gathered by update_geometry_stats() and resulting extent will be exact. + Availability: 1.0.0 + &curve_support; -- 2.40.0