From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Fabrízio de Royes Mello <fabrizio(at)timbira(dot)com(dot)br> |
Cc: | PegoraroF10 <marcos(at)f10(dot)com(dot)br>, Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Re: Refresh Publication takes hours and doesn´t finish |
Date: | 2019-05-21 17:41:02 |
Message-ID: | 17139.1558460462@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
=?UTF-8?Q?Fabr=C3=ADzio_de_Royes_Mello?= <fabrizio(at)timbira(dot)com(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Fabrízio de Royes Mello | 2019-05-21 17:57:25 | Re: Re: Refresh Publication takes hours and doesn´t finish |
Previous Message | Rich Shepard | 2019-05-21 17:29:35 | Re: Bulk inserts into two (related) tables |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-05-21 17:47:44 | Re: New EXPLAIN option: ALL |
Previous Message | David Fetter | 2019-05-21 17:38:57 | Re: New EXPLAIN option: ALL |