X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C2D42D8505 for ; Tue, 6 Sep 2005 14:13:28 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27324-01 for ; Tue, 6 Sep 2005 17:13:24 +0000 (GMT) Received: from TWMAIL.ESNCC.COM (static-66-173-159-28.t1.cavtel.net [66.173.159.28]) by svr1.postgresql.org (Postfix) with ESMTP id CB5ECD8546 for ; Tue, 6 Sep 2005 14:13:23 -0300 (ADT) Received: from spawar2i8uvlb9 ([150.125.117.63]) by TWMAIL.ESNCC.COM with Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Sep 2005 13:13:25 -0400 From: "Lane Van Ingen" To: "Eric Emerton" , Subject: Re: Windows pgpass Problems.. Date: Tue, 6 Sep 2005 13:13:19 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181 In-Reply-To: <41A1CBC76FDECC42B67946519C6677A902BC0869@pippin.int.etrials.com> Importance: Normal X-OriginalArrivalTime: 06 Sep 2005 17:13:25.0482 (UTC) FILETIME=[4ABA34A0:01C5B306] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.068 required=5 tests=[AWL=0.018, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/43 X-Sequence-Number: 18780 Eric, I will be interested to see someone's response to your message, because I am having the same problem (in Windows 2003, version 8.0). I want to use it in a batch file that invokes psql to load a database, etc. without prompting for a password. I have not tried to use wildcards (defeats the purpose of what I am doing), but have used the specific values for hostname:port:database:user:password, with no luck. I (initially) did not know where %appdata%\postgresql should be; be sure your pgpass.conf file is in the right place. You can find it by using this command at the DOS command prompt: echo %appdata% -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Eric Emerton Sent: Tuesday, September 06, 2005 11:25 AM To: pgsql-admin@postgresql.org Subject: [ADMIN] Windows pgpass Problems.. I have been stuggling all day with the pgpass ability on 8.0 Postgres - on Windows 2000. I have been to the documentation: After reading many threads on similar problems, I just cannot seem to get a batch file to recognize that pgpass is there. I have dropped it into the Application data directory postgresql\pgpass.conf of 'Administrator', (My windows username), 'postgres', 'All Users', etc, etc. The contents I have tried for the pgpass file areeach of the combinations of: localhost:5432::: 127.0.0.1:5432::: localhost:*::: 127.0.0.1:*::: ..and many others has been postgres and other test superuser accounts. Nothing seems to work. I have restarted postgres, restarted windows, and it simply wont take.. Regards, Eric Emerton ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org