Re: [PATCHES] Cancel autovacuum conflicting with DROP TABLE

2007-06-29 Thread Alvaro Herrera
ITAGAKI Takahiro wrote: > > Alvaro Herrera <[EMAIL PROTECTED]> 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 v

Re: [PATCHES] Cancel autovacuum conflicting with DROP TABLE

2007-06-27 Thread ITAGAKI Takahiro
Alvaro Herrera <[EMAIL PROTECTED]> wrote: > 1. changing SIGINT so that it cancels the current table instead of > shutting down the entire worker. > > 2. changing DROP TABLE and TRUNCATE so that they cancel an autovac > worker by sending SIGINT. Quite so. > 3. change the interrupt code so that

Re: [PATCHES] Cancel autovacuum conflicting with DROP TABLE

2007-06-26 Thread Alvaro Herrera
ITAGAKI Takahiro wrote: > ITAGAKI Takahiro <[EMAIL PROTECTED]> wrote: > > > Here is a patch that cancels autovacuum workers conflicting with > > DROP TABLE, TRUNCATE and CLUSTER. It was discussed here: > > http://archives.postgresql.org/pgsql-hackers/2007-06/msg00556.php > > I made an adjustment

Re: [PATCHES] Cancel autovacuum conflicting with DROP TABLE

2007-06-21 Thread ITAGAKI Takahiro
ITAGAKI Takahiro <[EMAIL PROTECTED]> wrote: > Here is a patch that cancels autovacuum workers conflicting with > DROP TABLE, TRUNCATE and CLUSTER. It was discussed here: > http://archives.postgresql.org/pgsql-hackers/2007-06/msg00556.php I made an adjustment for the latest 'more autovacuum fixes'

[PATCHES] Cancel autovacuum conflicting with DROP TABLE

2007-06-19 Thread ITAGAKI Takahiro
Here is a patch that cancels autovacuum workers conflicting with DROP TABLE, TRUNCATE and CLUSTER. It was discussed here: http://archives.postgresql.org/pgsql-hackers/2007-06/msg00556.php Before backends drop a table, they search autovacuum workers that are running on the table. If found, they sen