| 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: Re: Refresh Publication takes hours and doesn´t finish | 
| Date: | 2019-05-21 18:27:33 | 
| Message-ID: | 11566.1558463253@sss.pgh.pa.us | 
| Views: | Whole Thread | Raw Message | 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:
> Em ter, 21 de mai de 2019 às 14:41, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rich Shepard | 2019-05-21 18:28:58 | Re: Bulk inserts into two (related) tables | 
| Previous Message | Will Hartung | 2019-05-21 18:27:10 | Re: Bulk inserts into two (related) tables | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2019-05-21 18:33:50 | Re: New EXPLAIN option: ALL | 
| Previous Message | Melanie Plageman | 2019-05-21 18:19:10 | Re: describe working as intended? |