Re: HINT message for "ALTER SUBSCRIPTION.. WITH" need to change with SET keyword

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Dilip Kumar <dilipbalaut(at)gmail(dot)com>, tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: HINT message for "ALTER SUBSCRIPTION.. WITH" need to change with SET keyword
Date: 2017-05-19 20:42:23
Message-ID: 82adfe39-1233-2013-d84a-140a876c0cd1@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5/19/17 06:58, Dilip Kumar wrote:
> On Fri, May 19, 2017 at 3:41 PM, tushar <tushar(dot)ahuja(at)enterprisedb(dot)com> wrote:
>> postgres=# drop subscription sub;
>> ERROR: could not connect to publisher when attempting to drop the
>> replication slot "pub"
>> DETAIL: The error was: could not connect to server: No such file or
>> directory
>> Is the server running locally and accepting
>> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
>> HINT: Use ALTER SUBSCRIPTION ... WITH (slot_name = NONE) to disassociate
>> the subscription from the slot.
>>
>> expected = "HINT: Use ALTER SUBSCRIPTION ... SET (slot_name = NONE) to
>> disassociate the subscription from the slot."
>
> Seems like syntax got changed in
> b807f59828fbc02fea612e1cbc0066c6dfa3be9b commit but missed to change
> the hint. Attached patch fixes that.

Fixed, thanks.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-05-19 20:54:27 Re: bumping HASH_VERSION to 3
Previous Message Tom Lane 2017-05-19 20:32:11 Re: [Bug fix]If recovery.conf has target_session_attrs=read-write, the standby fails to start.