Re: refreshing a database with pg_dump and psql

Поиск
Список
Период
Сортировка
От Rossi, Maria
Тема Re: refreshing a database with pg_dump and psql
Дата
Msg-id ea08290421c641a0bb560409efc8124a@DC01PXMBP003.jacksonnational.com
обсуждение исходный текст
Ответ на refreshing a database with pg_dump and psql  ("Rossi, Maria" <maria.rossi@us.pgds.com>)
Список pgsql-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
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> 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.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Jan Lentfer
Дата:
Сообщение: Re: refreshing a database with pg_dump and psql
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: refreshing a database with pg_dump and psql