Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 931959FA186 for ; Thu, 30 Nov 2006 13:15:44 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 56697-06 for ; Thu, 30 Nov 2006 13:15:29 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by postgresql.org (Postfix) with ESMTP id 3D94D9FA170 for ; Thu, 30 Nov 2006 13:15:29 -0400 (AST) Received: by wx-out-0506.google.com with SMTP id i28so2689735wxd for ; Thu, 30 Nov 2006 09:15:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ngia5HNHAcHxi+WpdnB3xOQcomGT1iVtQgqhZWDqMpdrYd5GDK9TwlCUmWygtoNo8TWwegjABito+07Z4u00gASOjwhDUkeGyRrWbaExPJ0mOOAXQGjYYg/0cVIsm7Iz1xf/UDtuMu3ZKcMHLlZZIli9sH3310r8Diav0SgkrmI= Received: by 10.70.33.7 with SMTP id g7mr6746514wxg.1164906927114; Thu, 30 Nov 2006 09:15:27 -0800 (PST) Received: by 10.70.104.20 with HTTP; Thu, 30 Nov 2006 09:15:26 -0800 (PST) Message-ID: Date: Thu, 30 Nov 2006 17:15:27 +0000 From: "Tomi N/A" To: "Dave Cramer" Subject: Re: Backup with Java Cc: "Marc Herbert" , pgsql-jdbc@postgresql.org In-Reply-To: <664B3E94-C366-4B3A-8688-8B936E9098EC@fastcrypt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it> <1f30b80c0611271020p6045f190sc73d690314bfbee8@mail.gmail.com> <456E15EE.2010604@web.de> <456ED08E.1030101@ipcon.de> <664B3E94-C366-4B3A-8688-8B936E9098EC@fastcrypt.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/183 X-Sequence-Number: 16225 2006/11/30, Dave Cramer : > That could certainly be changed much easier than duplicating the > entire pg_dump functionality Yeah, but the way this have been architected, it's impossible to do a backup over the network, i.e. with only the 5432 port at your disposal. And that's just one of the _obvious_ drawbacks...the way I see it, the way to do it would be to move the dump code into the database server. Let _the_server_ do all the hard work and let the application on the other end do whatever it wants with the (supposedly plain text) dump. That's flexibility, and it wouldn't require rewriting the dump utility - just a move into the server itself. t.n.a.