pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Geoffrey <esoteric@3times25.net>
To: pgsql-performance@postgresql.org
Subject: Re: Regarding pg_dump utility
Date: Thu, 08 Jun 2006 11:42:40 -0400
Message-ID: <44884570.8030705@3times25.net> (raw)
In-Reply-To: <27683.1149779164@sss.pgh.pa.us>
References: <9f2e40a90606072309v4c5b2623k8bda2614cd575835@mail.gmail.com>
	<27683.1149779164@sss.pgh.pa.us>

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



view thread (11+ messages)  latest in thread

Message-ID: <44884570.8030705@3times25.net>
Permalink:  ../44884570.8030705@3times25.net/
Also on:    postgresql.org/message-id/44884570.8030705@3times25.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: esoteric@3times25.net
  Subject: Re: Regarding pg_dump utility
  In-Reply-To: <44884570.8030705@3times25.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox