pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: soni de <soni.de@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Regarding pg_dump utility
Date: Thu, 08 Jun 2006 11:06:04 -0400
Message-ID: <27683.1149779164@sss.pgh.pa.us> (raw)
In-Reply-To: <9f2e40a90606072309v4c5b2623k8bda2614cd575835@mail.gmail.com>
References: <9f2e40a90606072309v4c5b2623k8bda2614cd575835@mail.gmail.com>

"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) ....

			regards, tom lane



view thread (11+ messages)  latest in thread

Message-ID: <27683.1149779164@sss.pgh.pa.us>
Permalink:  ../27683.1149779164@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27683.1149779164@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, soni.de@gmail.com
  Subject: Re: Regarding pg_dump utility
  In-Reply-To: <27683.1149779164@sss.pgh.pa.us>

* 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