Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5C4C19F9ECF for ; Thu, 30 Nov 2006 11:55:29 -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 44302-07 for ; Thu, 30 Nov 2006 11:55:07 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 97EC69F9DAD for ; Thu, 30 Nov 2006 11:55:07 -0400 (AST) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GpoF1-0001AM-Vv for pgsql-jdbc@postgresql.org; Thu, 30 Nov 2006 16:54:28 +0100 Received: from 83.145.96.118 ([83.145.96.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Nov 2006 16:54:27 +0100 Received: from Marc.Herbert by 83.145.96.118 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Nov 2006 16:54:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Marc Herbert Subject: Re: Backup with Java Date: Thu, 30 Nov 2006 16:54:06 +0100 Lines: 26 Message-ID: References: <456afd7a.330.e42.37531057@webh5.fe.aruba.it> <1f30b80c0611271020p6045f190sc73d690314bfbee8@mail.gmail.com> <456E15EE.2010604@web.de> <456ED08E.1030101@ipcon.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83.145.96.118 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:BpX+US4eCGTjHqVw63BadRCB35g= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.541 tagged_above=0 required=5 tests=AWL, BAYES_50, FORGED_RCVD_HELO, RCVD_NUMERIC_HELO, SPF_HELO_PASS, SPF_PASS X-Spam-Level: * X-Archive-Number: 200611/181 X-Sequence-Number: 16223 Patric Bechtel writes: > Marc Herbert schrieb am 30.11.2006 12:03: >> Dave Cramer writes: >> >>> I'd strongly suggest you exec pg_dump from the command line using >>> System.exec and connect to the remote database. This is certainly re- >>> inventing a non-trivial wheel. >> >> We have implemented this, with a couple of additional checks >> >> We also interested by alternatives approaches. > But I just checked the link above, and it's still native. Yes, that's why I tried to say by quoting. Sorry if you misunderstood it; I probably should have removed the "reinventing" sentence. By the way a (the?) major issue with programming against pg_dump is that it may prompt for a password in an unpredictable way. There is no --never-prompt-but-IMMEDIATLY-fail-instead option.