Re: Fixing the docs for ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Japin Li <japinli(at)hotmail(dot)com>
Subject: Re: Fixing the docs for ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION
Date: 2021-05-25 11:36:16
Message-ID: 6fbc9fa9-23ea-cd52-5961-32507d009a8a@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21.05.21 22:19, Mark Dilger wrote:
> +ALTER SUBSCRIPTION mysubscription DROP PUBLICATION nosuchpub WITH (copy_data = false, refresh = false);
> +ERROR: unrecognized subscription parameter: "copy_data"
> +ALTER SUBSCRIPTION mysubscription SET (copy_data = false, refresh = false);
> +ERROR: unrecognized subscription parameter: "copy_data"

Better wording might be something along the lines of "subscription
parameter %s not supported in this context". I'm not sure how easy this
would be to implement, but with enough brute force it would surely be
possible.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2021-05-25 11:42:44 Re: How can the Aggregation move to the outer query
Previous Message Magnus Hagander 2021-05-25 11:32:37 Re: Add ZSON extension to /contrib/