Re: pg_restore cancel TODO - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_restore cancel TODO
Date
Msg-id 1010.1445268514@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_restore cancel TODO  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: pg_restore cancel TODO  (Bruce Momjian <bruce@momjian.us>)
Re: pg_restore cancel TODO  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Jeff Janes wrote:
>> I've added the TODO item:
>> 
>> When pg_upgrade -j ... is interrupted (for example, ctrl-C from the
>> keyboard) make it cancel the children processes.
>> 
>> The context where this arises is that I want to populate data into a new
>> installation compiled with a patch under review, but immediately get error
>> messages indicating I forgot to install a required extension.  I hit ctrl-C
>> so I can fix the problem, but it keeps running anyway.

> This looks more like a bug to me than a To-do item.

Why doesn't the control-C kill all the child processes automatically?
I'd have expected it to ...
        regards, tom lane



pgsql-hackers by date:

Previous
From: "Shulgin, Oleksandr"
Date:
Subject: Re: SuperUser check in pg_stat_statements
Next
From: Bruce Momjian
Date:
Subject: Re: pg_restore cancel TODO