pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: David Steele <david@pgmasters.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: View restore error in 9.3-9.4 upgrade
Date: Mon, 23 Feb 2015 19:55:43 -0500
Message-ID: <20150224005543.GG29780@tamriel.snowman.net> (raw)
In-Reply-To: <54EBA91C.1020907@pgmasters.net>
References: <54EBA91C.1020907@pgmasters.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

David,

* David Steele (david@pgmasters.net) wrote:
> I upgraded from 9.3 to 9.4 last week using pg_dumpall and psql to dump
> and import the database.  I got an error during the creation of one of
> the views and ended up having to patch the pl/pgsql manually to complete
> the migration.

Which pg_dumpall / pg_dump did you use?  Generally speaking, you want to
be using the pg_dumpall and pg_dump from the version of PostgreSQL which
you are upgrading *to*.  In this case, you'd want to use the 9.4
pg_dumpall and pg_dump.

I haven't had a chance to look more closely, but I suspect that would
work based on your comment that a dump/reload while on 9.4 works.

	Thanks!

		Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (9+ messages)  latest in thread

Message-ID: <20150224005543.GG29780@tamriel.snowman.net>
Permalink:  ../20150224005543.GG29780@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20150224005543.GG29780@tamriel.snowman.net

 · 

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: sfrost@snowman.net, david@pgmasters.net
  Subject: Re: View restore error in 9.3-9.4 upgrade
  In-Reply-To: <20150224005543.GG29780@tamriel.snowman.net>
  References: <54EBA91C.1020907@pgmasters.net> <20150224005543.GG29780@tamriel.snowman.net>

* 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