pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fabrízio de Royes Mello <fabrizio@timbira.com.br>
Cc: PegoraroF10 <marcos@f10.com.br>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: Re: Re: Refresh Publication takes hours and doesn´t finish
Date: Tue, 21 May 2019 14:27:33 -0400
Message-ID: <11566.1558463253@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPfkCSB8OHDihxpHPY+RorZkhWDzagomQ7wS4vSQngnLEYBp_A@mail.gmail.com>
References: <1551385426763-0.post@n3.nabble.com>
	<1558383480253-0.post@n3.nabble.com>
	<CAPfkCSCMDNB4gGhmULe4XWLcnRZcV6q3aPVpSMWkJoDEYbOBpA@mail.gmail.com>
	<1558459007572-0.post@n3.nabble.com>
	<CAPfkCSDB-vfYyJmmTgoQvJ=-J2n4DAhWMPDb3d5V2FTpKWb5Gg@mail.gmail.com>
	<17139.1558460462@sss.pgh.pa.us>
	<CAPfkCSB8OHDihxpHPY+RorZkhWDzagomQ7wS4vSQngnLEYBp_A@mail.gmail.com>

=?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





view thread (14+ messages)  latest in thread

Message-ID: <11566.1558463253@sss.pgh.pa.us>
Permalink:  ../11566.1558463253@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11566.1558463253@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, fabrizio@timbira.com.br, marcos@f10.com.br
  Subject: Re: Refresh Publication takes hours and doesn´t finish
  In-Reply-To: <11566.1558463253@sss.pgh.pa.us>
  References: <1551385426763-0.post@n3.nabble.com> <1558383480253-0.post@n3.nabble.com> <CAPfkCSCMDNB4gGhmULe4XWLcnRZcV6q3aPVpSMWkJoDEYbOBpA@mail.gmail.com> <1558459007572-0.post@n3.nabble.com> <CAPfkCSDB-vfYyJmmTgoQvJ=-J2n4DAhWMPDb3d5V2FTpKWb5Gg@mail.gmail.com> <17139.1558460462@sss.pgh.pa.us> <CAPfkCSB8OHDihxpHPY+RorZkhWDzagomQ7wS4vSQngnLEYBp_A@mail.gmail.com> <11566.1558463253@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox