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 763A59F9EF3 for ; Thu, 8 Jun 2006 12:06:09 -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 66301-08 for ; Thu, 8 Jun 2006 12:06:06 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id EE7839FA5C8 for ; Thu, 8 Jun 2006 12:06:05 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k58F6455027684; Thu, 8 Jun 2006 11:06:04 -0400 (EDT) To: "soni de" cc: pgsql-performance@postgresql.org Subject: Re: Regarding pg_dump utility In-reply-to: <9f2e40a90606072309v4c5b2623k8bda2614cd575835@mail.gmail.com> References: <9f2e40a90606072309v4c5b2623k8bda2614cd575835@mail.gmail.com> Comments: In-reply-to "soni de" message dated "Thu, 08 Jun 2006 11:39:48 +0530" Date: Thu, 08 Jun 2006 11:06:04 -0400 Message-ID: <27683.1149779164@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/87 X-Sequence-Number: 19444 "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) .... regards, tom lane