Re: Stats not updated after rollback -- autovacuum confused. - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Stats not updated after rollback -- autovacuum confused.
Date
Msg-id 20070611014449.GA7661@alvh.no-ip.org
Whole thread Raw
In response to Re: Stats not updated after rollback -- autovacuum confused.  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Stats not updated after rollback -- autovacuum confused.  (Bruce Momjian <bruce@momjian.us>)
Re: Stats not updated after rollback -- autovacuum confused.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Bruce Momjian escribió:
> 
> This has been saved for the 8.4 release:
> 
>     http://momjian.postgresql.org/cgi-bin/pgpatches_hold

FWIW this has been fixed in 8.3, you can drop the item from the 8.4
queue.  Thanks.


> ---------------------------------------------------------------------------
> 
> Dawid Kuroczko wrote:
> > Hello, I have a system where there are mostly COPYs,
> > which insert data into a table.  Ocasionally a COPY will fail (and thus,
> > dead rows appear), but as far as I can tell ROLLBACK is not reflected
> > anywhere in the pg_stats_user_tables.  And since there are no rows
> > n_tup_upd or n_tup_del, therefore autovacuum will not fire for that table.


-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: What's with the StartDb:2 failures on skylark?
Next
From: Bruce Momjian
Date:
Subject: Re: Stats not updated after rollback -- autovacuum confused.