Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A4F1A9FB295 for ; Wed, 23 May 2007 11:05:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 28024-03 for ; Wed, 23 May 2007 11:04:53 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from bay0-omc2-s11.bay0.hotmail.com (bay0-omc2-s11.bay0.hotmail.com [65.54.246.147]) by postgresql.org (Postfix) with ESMTP id 112A39FB22F for ; Wed, 23 May 2007 11:04:58 -0300 (ADT) Received: from hotmail.com ([64.4.39.92]) by bay0-omc2-s11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 23 May 2007 07:04:57 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 23 May 2007 07:04:57 -0700 Message-ID: Received: from 64.4.39.123 by by140fd.bay140.hotmail.msn.com with HTTP; Wed, 23 May 2007 14:04:54 GMT X-Originating-IP: [62.121.58.37] X-Originating-Email: [fmfpaiva@hotmail.com] X-Sender: fmfpaiva@hotmail.com From: "filipe paiva" To: pgsql-admin@postgresql.org Date: Wed, 23 May 2007 15:04:54 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 23 May 2007 14:04:57.0376 (UTC) FILETIME=[58562A00:01C79D43] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.378 tagged_above=0 required=5 tests=AWL=-0.253, BAYES_40=-0.185, MISSING_SUBJECT=1.816, MSGID_FROM_MTA_HEADER=0 X-Spam-Level: * X-Archive-Number: 200705/246 X-Sequence-Number: 25566 Hi there, I want to write a script where I can create a database automatically. This is intended to create a database during the installation of an application I'm currently develloping. So, I (or the end-user of my app) can't be prompted for the postgres password during the app installation. I already found that it's possible to store passwords in the file pgpass.conf in the %APPDATA% directory. But that file isn't stored in that location. In fact it doesn't exist in my disk. I already checked the "Store password" option in the pgadmin and I already checked in the pgadmin's pgpass.conf menu entry that the password is stored. But where? Can you help me? Greetings, Filipe Paiva _________________________________________________________________ Mensagens em garrafa? Seja audaz, use o Messenger! http://www.communicationevolved.com/pt-pt/