Re: How to use the COPY command

Поиск
Список
Период
Сортировка
От Low Kian Seong
Тема Re: How to use the COPY command
Дата
Msg-id 20050419064838.31107.qmail@web31613.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на How to use the COPY command  (Low Kian Seong <postgresql_low@yahoo.com>)
Ответы Re: How to use the COPY command  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-novice
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Low Kian Seong <postgresql_low@yahoo.com> writes:
> > How do I use the copy command to copy a whole
> database
> > onto a system file so that i can use the createdb
> with
> > the -T flag to re-create the database on another
> > system ?
>
> I think you are looking for pg_dump, not COPY.
>
>             regards, tom lane
>

When I use pg_dump, it complaints when i try to do
this :

createdb dbname -T /path/to/dump/file

What must the format of the dump file be in order for
the above command to work ?



__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to use the COPY command
Следующее
От: George Weaver
Дата:
Сообщение: Re: Windows XP PostgreSQL usage