Re: Refresh Publication takes hours and doesn´t finish

Поиск
Список
Период
Сортировка
От Fabrízio de Royes Mello
Тема Re: Refresh Publication takes hours and doesn´t finish
Дата
Msg-id CAPfkCSDB-vfYyJmmTgoQvJ=-J2n4DAhWMPDb3d5V2FTpKWb5Gg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Refresh Publication takes hours and doesn´t finish  (PegoraroF10 <marcos@f10.com.br>)
Ответы Re: Re: Refresh Publication takes hours and doesn´t finish  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general

Em ter, 21 de mai de 2019 às 14:17, PegoraroF10 <marcos@f10.com.br> escreveu:
>
> Restart Postgres means exactly what ? We tried just restart the service but
> we tried to refresh publication the old view was used because it took 2hours
> and gave us a timeout.
>

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)

Regards,

--
   Fabrízio de Royes Mello         Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

В списке pgsql-general по дате отправления:

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