X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 4F7969FA5C8 for ; Thu, 8 Jun 2006 12:42:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 68578-04 for ; Thu, 8 Jun 2006 12:42:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from www.3times25.net (duck.3times25.net [66.23.211.34]) by postgresql.org (Postfix) with ESMTP id A1CEF9F9EF3 for ; Thu, 8 Jun 2006 12:42:42 -0300 (ADT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by www.3times25.net (Postfix) with ESMTP id 2DA5254A89 for ; Thu, 8 Jun 2006 11:42:41 -0400 (EDT) Message-ID: <44884570.8030705@3times25.net> Date: Thu, 08 Jun 2006 11:42:40 -0400 From: Geoffrey User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Regarding pg_dump utility References: <9f2e40a90606072309v4c5b2623k8bda2614cd575835@mail.gmail.com> <27683.1149779164@sss.pgh.pa.us> In-Reply-To: <27683.1149779164@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/90 X-Sequence-Number: 19447 Tom Lane wrote: > "soni de" 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