pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rossi, Maria <maria.rossi@us.pgds.com>
To: 'David G. Johnston' <david.g.johnston@gmail.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: refreshing a database with pg_dump and psql
Date: Tue, 26 May 2015 21:27:58 +0000
Message-ID: <ea08290421c641a0bb560409efc8124a@DC01PXMBP003.jacksonnational.com> (raw)
In-Reply-To: <CAKFQuwY19cdpsVGzosr6jT3aZfSRiB8i9uFQ2tf6aMBmmrQQcQ@mail.gmail.com>
References: <f39c1b101fe5410a93f57d2f5a0edefe@DC01PXMBP003.jacksonnational.com>
	<CAKFQuwY19cdpsVGzosr6jT3aZfSRiB8i9uFQ2tf6aMBmmrQQcQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Sorry,   I mean to say, reload  the database.  Does that makes sense?

Maria A Rossi
Database Administration
PGDS (US)
email: maria.rossi@us.pgds.com<mailto:maria.rossi@us.pgds.com>
cell phone: 517.256.4392
work phone: 517.367.3099
work phone extension: 23099

From: David G. Johnston [mailto:david.g.johnston@gmail.com]
Sent: Tuesday, May 26, 2015 5:26 PM
To: Rossi, Maria
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] refreshing a database with pg_dump and psql

On Tuesday, May 26, 2015, Rossi, Maria <maria.rossi@us.pgds.com<mailto:maria.rossi@us.pgds.com>> wrote:
I have a database that was created from a ‘pg_dump –C’.  No problems there.  Then  I ran the pg_dump  again, this time without the –C. and tried to load it.   But   got a bunch of ‘object already exist’.
Can’t I refresh an existing database from a plain pg_dump?  Is  there an option that I have to use?
You should probably expound on what you mean by "refresh".

David J.


view thread (8+ messages)  latest in thread

Message-ID: <ea08290421c641a0bb560409efc8124a@DC01PXMBP003.jacksonnational.com>
Permalink:  ../ea08290421c641a0bb560409efc8124a@DC01PXMBP003.jacksonnational.com/
Also on:    postgresql.org/message-id/ea08290421c641a0bb560409efc8124a@DC01PXMBP003.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-admin@postgresql.org
  Cc: maria.rossi@us.pgds.com, david.g.johnston@gmail.com
  Subject: Re: refreshing a database with pg_dump and psql
  In-Reply-To: <ea08290421c641a0bb560409efc8124a@DC01PXMBP003.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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox