Tom Lane wrote:
> "soni de" <soni(dot)de(at)gmail(dot)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