ITAGAKI Takahiro wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
> > 1. changing SIGINT so that it cancels the current table instead of
> > shutting down the entire worker.
I applied this part of the patch, thanks.
In passing I noticed that apparently we are leaking memory, because the
vacuum memory context is created with a parent of PortalContext, which
ISTM to be NULL in autovacuum. So when we cancel the vacuuming work, we
never delete or reset that context.
I think what we should be doing is creating a context to act as
PortalContext, and reset it after each vacuuming operation.
Alvaro Herrera http://www.amazon.com/gp/registry/5ZYLFMCVHXC
"El que vive para el futuro es un iluso, y el que vive para el pasado,
un imbécil" (Luis Adler, "Los tripulantes de la noche")
In response to
pgsql-patches by date
|Next:||From: David Fetter||Date: 2007-06-29 18:32:19|
|Subject: Re: rename of a view|
|Previous:||From: Tom Lane||Date: 2007-06-29 16:35:44|
|Subject: Re: configure.in / xml / quoting trouble |