| From: | Neil Conway <neilc(at)samurai(dot)com> |
|---|---|
| To: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
| Subject: | vacuum hint on elog |
| Date: | 2005-01-22 12:28:52 |
| Message-ID: | 41F24704.6050705@samurai.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
It occurred to me that if we elog(ERROR) during VACUUM, the vacuum
activity hint will not be reset. This will result in all subsequent I/O
by the current backend being treated by the bufmgr as though it resulted
from VACUUM. While elog(ERROR) during VACUUM is not a common occurrence,
I don't think it's wise to assume it is impossible.
Attached is a patch which resets the vacuum activity hint in
AbortTransaction().
Barring any objections, I intend to apply this to REL8_0_STABLE and HEAD
sometime on Monday.
-Neil
| Attachment | Content-Type | Size |
|---|---|---|
| vacuum_hint_reset-1.patch | text/x-patch | 1.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2005-01-22 12:56:33 | Re: vacuum hint on elog |
| Previous Message | Neil Conway | 2005-01-22 10:13:17 | Re: pg_autovacuum/Win32 Fixes |