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

On 2/23/15 7:55 PM, Stephen Frost wrote:
> 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.

During the actual migration I used the 9.4 pg_dump, but for my tests I
used 9.3.  I just redid the tests exporting with 9.4 and it failed in
the same way.

-- 
- David Steele
david@pgmasters.net

Attachments:

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

view thread (9+ messages)  latest in thread

Message-ID: <54EC08C0.5030007@pgmasters.net>
Permalink:  ../54EC08C0.5030007@pgmasters.net/
Also on:    postgresql.org/message-id/54EC08C0.5030007@pgmasters.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: david@pgmasters.net, sfrost@snowman.net
  Subject: Re: View restore error in 9.3-9.4 upgrade
  In-Reply-To: <54EC08C0.5030007@pgmasters.net>
  References: <54EBA91C.1020907@pgmasters.net> <20150224005543.GG29780@tamriel.snowman.net> <54EC08C0.5030007@pgmasters.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