refreshing a database with pg_dump and psql - Mailing list pgsql-admin

From Rossi, Maria
Subject refreshing a database with pg_dump and psql
Date
Msg-id f39c1b101fe5410a93f57d2f5a0edefe@DC01PXMBP003.jacksonnational.com
Whole thread Raw
Responses Re: refreshing a database with pg_dump and psql  (Jan Lentfer <Jan.Lentfer@web.de>)
Re: refreshing a database with pg_dump and psql  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-admin

Hi,

 

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?

Thanks.

 

 

Maria A Rossi

Database Administration

PGDS (US)

email: maria.rossi@us.pgds.com
cell phone: 517.256.4392

work phone: 517.367.3099
work phone extension: 23099

 

pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: Re: How to expand existing table-space
Next
From: Jan Lentfer
Date:
Subject: Re: refreshing a database with pg_dump and psql