Re: Regarding pg_dump utility - Mailing list pgsql-performance

From Geoffrey
Subject Re: Regarding pg_dump utility
Date
Msg-id 44884570.8030705@3times25.net
Whole thread Raw
In response to Re: Regarding pg_dump utility  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
Tom Lane wrote:
> "soni de" <soni.de@gmail.com> writes:
>> We have to take a backup of database and we know the pg_dump utility of
>> postgresql.
>
>> But may I know, is there any API for this pg_dump utility so that we can
>> call it from the C program? Or only script support is possible for this.
>
> There's always system(3) ....

fork(), exec()...

--
Until later, Geoffrey

Any society that would give up a little liberty to gain a little
security will deserve neither and lose both.  - Benjamin Franklin

pgsql-performance by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: JOIN with inherited table ignores indexes
Next
From: Tom Lane
Date:
Subject: Re: JOIN with inherited table ignores indexes