From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Kenji Sugita <sugita(at)srapc1327(dot)sra(dot)co(dot)jp> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: vacuumdb can't be canceled |
Date: | 2003-07-21 19:19:42 |
Message-ID: | 200307211919.h6LJJgH04787@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Control-C works here. What platform are you on? Can you reproduce it?
I just tried:
psql -c 'select * from pg_class, pg_proc' test
and control-C terminated the query.
---------------------------------------------------------------------------
Kenji Sugita wrote:
> Vacuumdb command can't be canceled by Control-C and VACUUM is still running.
> When wrong database name is specified to vacuumdb, cancellation is required to
> stop VACUUM FULL which runs long.
>
> Option -c of psql forget to set signal handler for 7.3 or prior. Vacuumdb
> have no signal handler of cancellation for 7.4devel.
>
>
> Kenji Sugita
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-07-21 19:19:58 | Re: vacuumdb can't be canceled |
Previous Message | Bruce Momjian | 2003-07-21 19:15:59 | Re: php with postgres |