Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 50CDB4761B8 for ; Thu, 24 Oct 2002 05:08:19 -0400 (EDT) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by postgresql.org (Postfix) with ESMTP id 81F61476185 for ; Thu, 24 Oct 2002 05:08:18 -0400 (EDT) Received: from klaster.net (pk49.krakow.cvx.ppp.tpnet.pl [217.99.211.49]) by serwer.skawsoft.com.pl (Postfix) with ESMTP id 09BE72B4D6; Thu, 24 Oct 2002 11:01:37 +0200 (CEST) Message-ID: <3DB7B9F3.2000209@klaster.net> Date: Thu, 24 Oct 2002 11:14:27 +0200 From: Tomasz Myrta User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; PL; rv:1.1) Gecko/20020826 X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: andres javier garcia garcia Cc: PostgreSQL List Subject: Re: Basic question. References: <200210240812.g9O8Cdc12687@natura.cebas.csic.es> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/326 X-Sequence-Number: 10043 > And. If I'm not connected to any database. Can I execute a file that makes a > query on a database? Sorry, I made a mistake psql -f -U I'm not sure, but you can add export PGPASSWORD= before this command if you need a password. Tomasz Myrta