On Thu, Apr 03, 2008 at 11:58:11AM -0400, Tom Lane wrote:
> Just noticed that TRUNCATE fails to clear the stats collector's counts
> for the table. I am not sure if it should reset the event counts or
> not (any thoughts?) but surely it is wrong to not zero the live/dead
> tuple counts.
Wern't there complaints from people regularly truncating and
refilling tables getting bad plans because they lost the statistics?
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH9Q2qIB7bNG8LQkwRAkfPAJ9Ps6Z78RqxtKUe86Ppvt LIeIXEZwCbB8Vi
Qfl6X63uZyE6fD0l0kV3ABM=
=aiBv
-----END PGP SIGNATURE-----