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

From: Martin Knipper <knipper(at)mk-os(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: pg_dump inside function (was: Re: (No Subject))
Date: 2004-06-11 14:23:22
Message-ID: 40C9C05A.8030502@mk-os.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • (No Subject) at 2004-06-11 04:36:49 from William Anthony Lim

Browse pgsql-sql by date

  From Date Subject
Next Message Phil Endecott 2004-06-11 14:42:09 plpgsql - Insert from a record variable?
Previous Message Franco Bruno Borghesi 2004-06-11 14:02:35 Re: (No Subject)