Re: Copying a database

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Copying a database
Дата
Msg-id 4C651280.3090707@iol.ie
обсуждение исходный текст
Ответ на Re: Copying a database  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Copying a database
Список pgadmin-support
On 13/08/2010 06:32, Guillaume Lelarge wrote:

> If you want a plain (SQL) dump, you have to tick the "Only schema"
> checkbox before doing the dump. You don't have anything special to on
> the restore step.

It may be worth adding to this that you need to restore a plain dump via
psql on the command line:
 psql -U <username> -f <sql file name> <database name>

There has been confusion in the past with people trying to use the
"Restore" command in pgAdmin with plain dumps - this uses pg_restore,
which is intended for custom dumps only.

Ray.

-- 
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: PgAdmin Crash
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Copying a database