Re: [HACKERS] pg_restore cancel TODO

2015-10-19 Thread Bruce Momjian
On Wed, Oct 14, 2015 at 09:34:04AM -0700, 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 >

Re: [HACKERS] pg_restore cancel TODO

2015-10-19 Thread Alvaro Herrera
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,

Re: [HACKERS] pg_restore cancel TODO

2015-10-19 Thread Tom Lane
Alvaro Herrera 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

Re: [HACKERS] pg_restore cancel TODO

2015-10-19 Thread Bruce Momjian
On Mon, Oct 19, 2015 at 11:51:00AM -0300, Alvaro Herrera wrote: > 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

Re: [HACKERS] pg_restore cancel TODO

2015-10-19 Thread Bruce Momjian
On Mon, Oct 19, 2015 at 08:28:34AM -0700, Tom Lane wrote: > Alvaro Herrera 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. >

Re: [HACKERS] pg_restore cancel TODO

2015-10-19 Thread Joshua D. Drake
On 10/19/2015 09:47 AM, Jeff Janes wrote: On Mon, Oct 19, 2015 at 9:37 AM, Bruce Momjian > wrote: Sorry, I don't know how I managed to screw this up so much. pg_restore, not pg_upgrade. I've never looked into pg_restore much until recently, so my

Re: [HACKERS] pg_restore cancel TODO

2015-10-19 Thread Bruce Momjian
On Mon, Oct 19, 2015 at 09:26:21AM -0700, Jeff Janes wrote: > It seems like gdb eats signals that you send a process while it is being > debugged, so it is hard to figure out what is going on.  From strace, it looks > like the children do receive a signal but either ignore it, or set a flag and >

Re: [HACKERS] pg_restore cancel TODO

2015-10-19 Thread Jeff Janes
On Mon, Oct 19, 2015 at 9:37 AM, Bruce Momjian wrote: > On Mon, Oct 19, 2015 at 09:26:21AM -0700, Jeff Janes wrote: > > It seems like gdb eats signals that you send a process while it is being > > debugged, so it is hard to figure out what is going on. From strace, it > looks

Re: [HACKERS] pg_restore cancel TODO

2015-10-19 Thread Jeff Janes
On Mon, Oct 19, 2015 at 8:28 AM, Tom Lane wrote: > Alvaro Herrera 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