On 20/12/16 10:56, Erik Rijkers wrote:
> On 2016-12-20 10:48, Petr Jelinek wrote:
>
> Here is another small thing:
>
> $ psql -d testdb -p 6972
> psql (10devel_logical_replication_20161220_1008_db80acfc9d50)
> Type "help" for help.
>
> testdb=# drop publication if exists xxx;
> ERROR: unrecognized object type: 28
>
>
> testdb=# drop subscription if exists xxx;
> WARNING: relcache reference leak: relation "pg_subscription" not closed
> DROP SUBSCRIPTION
>
>
> I don't mind but I suppose eventually other messages need to go there
>
Yep, attached should fix it.
DDL for completely new db objects surely touches a lot of places.
--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers