Re: How to dump data from database?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: How to dump data from database?
Дата
Msg-id 20050405034545.GA21764@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: How to dump data from database?  (go <go@ugnn.ru>)
Список pgsql-general
On Mon, Apr 04, 2005 at 01:11:20PM +0400, go wrote:
>
>  I would like to "pg_dump -Fc MyDataBase>archiv.dat"  ( maybe there is
> any SQL command or something else) .
> in case with COPY command I have to copy each table one by one.

I suppose you could write a function in a procedural language like
PL/Perl, PL/Python, or PL/Tcl that runs pg_dump, but why do you
need to do this from SQL?  Why can't you just run pg_dump from
outside the database?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] plPHP in core?
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: How to dump data from database?