pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Miha Vrhovnik <miha.vrhovnik@cordia.si>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13963: pg_clusterupgrade and materialized view
Date: Thu, 18 Feb 2016 08:49:40 -0500
Message-ID: <20160218134940.GF26716@momjian.us> (raw)
In-Reply-To: <ce2ced0223b499a64094345bac8671c1@cordia.si>
References: <20160216091311.2603.27097@wrigleys.postgresql.org>
	<20160218025253.GB26716@momjian.us>
	<ce2ced0223b499a64094345bac8671c1@cordia.si>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Thu, Feb 18, 2016 at 07:10:55AM +0000, Miha Vrhovnik wrote:
> On 2016-02-18 03:52, Bruce Momjian wrote:
> >On Tue, Feb 16, 2016 at 09:13:11AM +0000, miha.vrhovnik@cordia.si
> >wrote:
> >>The following bug has been logged on the website:
> >>
> >>Bug reference:      13963
> >>Logged by:          Miha
> >>Email address:      miha.vrhovnik@cordia.si
> >>PostgreSQL version: 9.5.1
> >>Operating system:   Ubuntu
> >>Description:
> >>
> >>Hey,
> >>
> >>I've just made a pg_clusterupgrade where the one database has a
> >>materialized
> >>view which is on another server, so the pg_fdw is used.. and
> >>this seems that
> >>was not updated during the pg_clusterupgrade
> >>
> >>It would be at least nice if pg_clusterupgrade would print out a
> >>notice if
> >>it cannot refresh the view.
> >>
> >>I haven't tested but maybe the problem is the same if one doesn't use
> >>materialized view via the pg_fdw.
> >
> >Why do you think an upgrade should refresh a materialzied view?
> Because after the upgrade the view was empty. I have a cron job
> which calls refresh materialized view with concurently keyword and
> the error returned was cannot refresh empty view concurrently.

Oh, that is odd.  So you had to repopulate the view rather than
refreshing it?  I am guessing that pg_dump is causing this, though there
is no mention in the docs about it.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Roman grave inscription                             +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <20160218134940.GF26716@momjian.us>
Permalink:  ../20160218134940.GF26716@momjian.us/
Also on:    postgresql.org/message-id/20160218134940.GF26716@momjian.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-bugs@postgresql.org
  Cc: bruce@momjian.us, miha.vrhovnik@cordia.si
  Subject: Re: BUG #13963: pg_clusterupgrade and materialized view
  In-Reply-To: <20160218134940.GF26716@momjian.us>
  References: <20160216091311.2603.27097@wrigleys.postgresql.org> <20160218025253.GB26716@momjian.us> <ce2ced0223b499a64094345bac8671c1@cordia.si> <20160218134940.GF26716@momjian.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