pg_dump inside function (was: Re: (No Subject))

Поиск
Список
Период
Сортировка
От Martin Knipper
Тема pg_dump inside function (was: Re: (No Subject))
Дата
Msg-id 40C9C05A.8030502@mk-os.de
обсуждение исходный текст
Ответ на (No Subject)  ("William Anthony Lim" <wei.liang@eudoramail.com>)
Список pgsql-sql
Please provide a subject for futher mailings to this list.

Am 11.06.2004 06:36 schrieb William Anthony Lim:
> is it possible to dump within procedural language/SQL syntax?
> Using pg_dump from console is very confusing for some end user
> who don't have Linux skills. so I decide to create a function to
> do that, and they may call it from my application.
> 

Why don't you use a system call e.g. system("pg_dump ...") inside
your application. It should be available in the programming language
you use to write your application.

Greetings,
Martin


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

Предыдущее
От: Franco Bruno Borghesi
Дата:
Сообщение: Re: (No Subject)
Следующее
От: "Phil Endecott"
Дата:
Сообщение: plpgsql - Insert from a record variable?