From: | "Rossi, Maria" <maria(dot)rossi(at)us(dot)pgds(dot)com> |
---|---|
To: | "'David G(dot) Johnston'" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: refreshing a database with pg_dump and psql |
Date: | 2015-05-26 21:27:58 |
Message-ID: | ea08290421c641a0bb560409efc8124a@DC01PXMBP003.jacksonnational.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Sorry, I mean to say, reload the database. Does that makes sense?
Maria A Rossi
Database Administration
PGDS (US)
email: maria(dot)rossi(at)us(dot)pgds(dot)com<mailto:maria(dot)rossi(at)us(dot)pgds(dot)com>
cell phone: 517.256.4392
work phone: 517.367.3099
work phone extension: 23099
From: David G. Johnston [mailto:david(dot)g(dot)johnston(at)gmail(dot)com]
Sent: Tuesday, May 26, 2015 5:26 PM
To: Rossi, Maria
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] refreshing a database with pg_dump and psql
On Tuesday, May 26, 2015, Rossi, Maria <maria(dot)rossi(at)us(dot)pgds(dot)com<mailto:maria(dot)rossi(at)us(dot)pgds(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2015-05-26 21:36:56 | Re: refreshing a database with pg_dump and psql |
Previous Message | Jan Lentfer | 2015-05-26 21:27:51 | Re: refreshing a database with pg_dump and psql |