agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Rossi, Maria <maria.rossi@jackson.com>
To: Keith <keith@keithf4.com>
Cc: pgsql-sql@lists.postgresql.org <pgsql-sql@lists.postgresql.org>
Cc: pgsql-novice@lists.postgresql.org <pgsql-novice@lists.postgresql.org>
Subject: RE: pg_dumpall and restore
Date: Tue, 9 Oct 2018 18:05:51 +0000
Message-ID: <4cb8957e977348fdb7dcae372daf70ed@DC03PXMBP003.jacksonnational.com> (raw)
In-Reply-To: <CAHw75vv6ODFZBTN-n+jBVUfGGv_VYxhxN3p3FTV5fNhdtr9E0g@mail.gmail.com>
References: <323742d3468543f590fc081c7fba0c7a@DC03PXMBP003.jacksonnational.com>
	<CAHw75vv6ODFZBTN-n+jBVUfGGv_VYxhxN3p3FTV5fNhdtr9E0g@mail.gmail.com>

Yes, I did use the V10.5 pg_dumpall

Maria A Rossi

From: Keith <keith@keithf4.com>
Sent: Tuesday, October 9, 2018 1:58 PM
To: Rossi, Maria <maria.rossi@jackson.com>
Cc: pgsql-sql@lists.postgresql.org; pgsql-novice@lists.postgresql.org
Subject: Re: pg_dumpall and restore

EXTERNAL EMAIL


On Tue, Oct 9, 2018 at 1:19 PM Rossi, Maria <maria.rossi@jackson.com<mailto:maria.rossi@jackson.com>> wrote:
Hi,

I upgraded our postgres database  from V9.3 to V10.5.  Used pg_dumpall then restore it to the new  instance.
After the restore, we notice that 1 table had duplicate rows, such that it was not able to create the primary key.
I checked the old database, it does not have the dups.
Has anyone encountered  having dups rows  loaded?  Any idea  what caused this and how to prevent?

Your help would be much appreciated.

Thanks.
Maria




Did you use the pg_dumpall binary from 10.5 to create the dump?

Keith


view thread (8+ messages)  latest in thread

Message-ID: <4cb8957e977348fdb7dcae372daf70ed@DC03PXMBP003.jacksonnational.com>
Permalink:  ../4cb8957e977348fdb7dcae372daf70ed@DC03PXMBP003.jacksonnational.com/
Also on:    postgresql.org/message-id/4cb8957e977348fdb7dcae372daf70ed@DC03PXMBP003.jacksonnational.com

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: maria.rossi@jackson.com, keith@keithf4.com, pgsql-sql@lists.postgresql.org, pgsql-novice@lists.postgresql.org
  Subject: RE: pg_dumpall and restore
  In-Reply-To: <4cb8957e977348fdb7dcae372daf70ed@DC03PXMBP003.jacksonnational.com>

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

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