Re: Re: Refresh Publication takes hours and doesn´t finish - Mailing list pgsql-general

From Tom Lane
Subject Re: Re: Refresh Publication takes hours and doesn´t finish
Date
Msg-id 17139.1558460462@sss.pgh.pa.us
Whole thread Raw
In response to Re: Refresh Publication takes hours and doesn´t finish  (Fabrízio de Royes Mello <fabrizio@timbira.com.br>)
Responses Re: Re: Refresh Publication takes hours and doesn´t finish
List pgsql-general
=?UTF-8?Q?Fabr=C3=ADzio_de_Royes_Mello?= <fabrizio@timbira.com.br> writes:
> As I said before to change system catalog you should set
> "allow_system_table_mods=on" and restart PostgreSQL service.
> After that you'll able to recreate the "pg_catalog.pg_publication_tables"
> system view. (You can use the Tom's suggestion using LATERAL)

It's a view, not a table, so I don't think you need
allow_system_table_mods.  A quick test here says that being
superuser is enough to do a CREATE OR REPLACE VIEW on it.

            regards, tom lane



pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Bulk inserts into two (related) tables
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: Re: Refresh Publication takes hours and doesn´t finish