Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B51F51337B8C for ; Wed, 9 Mar 2011 10:04:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 10289-03 for ; Wed, 9 Mar 2011 14:04:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 8E5BB1337B43 for ; Wed, 9 Mar 2011 10:04:25 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p29E4PZa089261 for ; Wed, 9 Mar 2011 14:04:25 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p29E4PIJ089260; Wed, 9 Mar 2011 14:04:25 GMT (envelope-from www) Date: Wed, 9 Mar 2011 14:04:25 GMT Message-Id: <201103091404.p29E4PIJ089260@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5921: pg_dump asks for password From: "sandyt" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201103/164 X-Sequence-Number: 29674 The following bug has been logged online: Bug reference: 5921 Logged by: sandyt Email address: sandy@mcw.co.il PostgreSQL version: 8.3.8 Operating system: windows 2008 server (64 bit) Description: pg_dump asks for password Details: We want to be able to run a nightly backup using the pg_dump command. Unfortunately, even with the pg_hba.conf fix of adding host postgres … trust, It still asks for a password. 1. Is this a 64bit issue? If the server was 32bit, would it not ask for a password? 2. Is there a way of running a dos script that would run the pg_dump providing a password when prompted? 3. Is there a way of running the pg_dump with a user that doesn't have a password? Thanks