Re: CREATE SUBSCRIPTION uninterruptable

From: Thom Brown <thom(at)linux(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CREATE SUBSCRIPTION uninterruptable
Date: 2017-02-17 17:40:11
Message-ID: CAA-aLv7Jir42WAE+BE736FYYYWsZ7vJvWXsa2WMr1j3GxAfkag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 17 February 2017 at 14:14, Peter Eisentraut
<peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
> On 2/16/17 09:44, Thom Brown wrote:
>> I've noticed that when creating a subscription, it can't be
>> interrupted. One must wait until it times out, which takes just over
>> 2 minutes. I'm guessing ALTER SUBSCRIPTION would have the same
>> problem.
>>
>> Shouldn't we have an interrupt for this?
>
> I think this is addressed by these patches:
> https://commitfest.postgresql.org/13/991/
>
> Please give them a try.

Okay, I've now tested those patches, and they do indeed fix this problem for me.

Thanks

Thom

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2017-02-17 17:45:00 Re: removing tsearch2
Previous Message Tom Lane 2017-02-17 17:31:07 Re: Index corruption with CREATE INDEX CONCURRENTLY