On 4/13/17 06:23, Amit Langote wrote:
> create table bar (a int);
> create publication mypub for table bar;
> alter publication mypub add table bar;
> ERROR: relation "bar" is already member of publication "mypub"
>
> 2nd command should be a no-op, IMHO.
We generally require a IF NOT EXISTS in those situations.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services