Re: Not getting error if ALTER SUBSCRIPTION syntax is wrong.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
Cc: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Not getting error if ALTER SUBSCRIPTION syntax is wrong.
Date: 2017-05-05 18:11:45
Message-ID: CA+TgmobHteoeovWHyNOCwRH9dEfK5OWY=WkoZB5HApVf_q2ZDA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 5, 2017 at 1:51 PM, Petr Jelinek
<petr(dot)jelinek(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-05-05 18:20:26 Re: idea: custom log_line_prefix components besides application_name
Previous Message Petr Jelinek 2017-05-05 17:51:06 Re: Not getting error if ALTER SUBSCRIPTION syntax is wrong.