Re: [HACKERS] Not getting error if ALTER SUBSCRIPTION syntax is wrong. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] Not getting error if ALTER SUBSCRIPTION syntax is wrong.
Date
Msg-id CA+TgmobHteoeovWHyNOCwRH9dEfK5OWY=WkoZB5HApVf_q2ZDA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Not getting error if ALTER SUBSCRIPTION syntax iswrong.  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
List pgsql-hackers
On Fri, May 5, 2017 at 1:51 PM, Petr Jelinek
<petr.jelinek@2ndquadrant.com> wrote:
> Syntax of ALTER command is correct, syntax of the connection string is
> not, you are probably getting errors in log from the replication worker.
>
> We could check validity of the connection string though to complain
> immediately like we do in CREATE.

Well if CREATE checks the validity, surely it's a bug if ALTER doesn't
do the same.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Not getting error if ALTER SUBSCRIPTION syntax iswrong.
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] idea: custom log_line_prefix components besides application_name