pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: nqtien310@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14226: pg_upgrade for 8.4 to 9.4 failed
Date: Tue, 26 Jul 2016 20:23:41 -0400
Message-ID: <20160727002341.GE27321@momjian.us> (raw)
In-Reply-To: <21758.1467648572@sss.pgh.pa.us>
References: <20160704134338.1397.58009@wrigleys.postgresql.org>
	<21758.1467648572@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Mon, Jul  4, 2016 at 12:09:32PM -0400, Tom Lane wrote:
> nqtien310@gmail.com writes:
> > But then the process was failed when I run the actual upgrade
> > "/usr/pgsql-9.4/bin/pg_upgrade -d /var/lib/pgsql/data -D
> > /var/lib/pgsql/9.4.test/data -b /usr/bin/ -B /usr/pgsql-9.4/bin/
> 
> > I consulted the log and saw these errors:
> > ------------------
> > pg_restore: creating CONSTRAINT yodlee_user_accounts_pkey
> > pg_restore: creating INDEX concurrently
> > pg_restore: [archiver (db)] Error while PROCESSING TOC:
> > pg_restore: [archiver (db)] Error from TOC entry 2638; 1259 19738 INDEX
> > concurrently blueleaf
> > pg_restore: [archiver (db)] could not execute query: ERROR:  CREATE INDEX
> > CONCURRENTLY cannot be executed from a function or multi-command string
> >     Command was:
> 
> Drop or rename your index named "concurrently".
> 
> (PG 9.0 and up seem to quote that index name safely, but 8.4 doesn't,
> and it's long out of support.)

That is odd because pg_upgrade uses the _new_ 9.4 pg_dump to dump the
old cluster.

-- 
  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. +
+                     Ancient 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 (5+ messages)  latest in thread

Message-ID: <20160727002341.GE27321@momjian.us>
Permalink:  ../20160727002341.GE27321@momjian.us/
Also on:    postgresql.org/message-id/20160727002341.GE27321@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, tgl@sss.pgh.pa.us, nqtien310@gmail.com
  Subject: Re: BUG #14226: pg_upgrade for 8.4 to 9.4 failed
  In-Reply-To: <20160727002341.GE27321@momjian.us>
  References: <20160704134338.1397.58009@wrigleys.postgresql.org> <21758.1467648572@sss.pgh.pa.us> <20160727002341.GE27321@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