Re: Re: Re: Refresh Publication takes hours and doesn´t finish

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Re: Refresh Publication takes hours and doesn´t finish
Дата
Msg-id 11566.1558463253@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: Refresh Publication takes hours and doesn´t finish  (Fabrízio de Royes Mello <fabrizio@timbira.com.br>)
Список 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 по дате отправления:

Предыдущее
От: Will Hartung
Дата:
Сообщение: Re: Bulk inserts into two (related) tables
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Bulk inserts into two (related) tables