pg_dump inside function (was: Re: (No Subject)) - Mailing list pgsql-sql

From Martin Knipper
Subject pg_dump inside function (was: Re: (No Subject))
Date
Msg-id 40C9C05A.8030502@mk-os.de
Whole thread Raw
In response to (No Subject)  ("William Anthony Lim" <wei.liang@eudoramail.com>)
List 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 by date:

Previous
From: Franco Bruno Borghesi
Date:
Subject: Re: (No Subject)
Next
From: "Phil Endecott"
Date:
Subject: plpgsql - Insert from a record variable?