]> granicus.if.org Git - postgis/commit
Fix access to random memory during ANALYZE
authorSandro Santilli <strk@keybit.net>
Tue, 9 Apr 2013 22:43:27 +0000 (22:43 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 9 Apr 2013 22:43:27 +0000 (22:43 +0000)
commitc0631ec024cc4b1093d9c39141505ee8f1ec1b65
tree4acc6ed8ebd9989c611937e1743c192b7dfc6077
parent48d7264a5e7972d2002e9c4a448f1a2a74f9ff95
Fix access to random memory during ANALYZE

The bug was introduced with previous commit, see #2269

As part of this fix, the stawidth field of pg_statistics is
changed to represent the average _compressed_ size rather
than the average _uncompressed_ size of non-null geometry
values. This may have some consequence on the planner (not
known at time of commit).

git-svn-id: http://svn.osgeo.org/postgis/trunk@11276 b70326c6-7e19-0410-871a-916f4a2858ee
postgis/geometry_estimate.c