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

From Tom Lane
Subject Re: Re: Re: Refresh Publication takes hours and doesn´t finish
Date
Msg-id 11566.1558463253@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: Refresh Publication takes hours and doesn´t finish  (Fabrízio de Royes Mello <fabrizio@timbira.com.br>)
List pgsql-general
=?UTF-8?Q?Fabr=C3=ADzio_de_Royes_Mello?= <fabrizio@timbira.com.br> writes:
> Em ter, 21 de mai de 2019 às 14:41, Tom Lane <tgl@sss.pgh.pa.us> escreveu:
>> 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.

> Interesting, I tried the following commands and got error:

Oh, huh, this is something that changed recently in HEAD ---
since commit 2d7d946cd, stuff created by system_views.sql
is not protected as though it were a system catalog.

So in released versions, yes you need allow_system_table_mods=on.
Sorry for the misinformation.

            regards, tom lane



pgsql-general by date:

Previous
From: Will Hartung
Date:
Subject: Re: Bulk inserts into two (related) tables
Next
From: Rich Shepard
Date:
Subject: Re: Bulk inserts into two (related) tables