Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5ACCE475D70 for ; Thu, 24 Oct 2002 04:16:23 -0400 (EDT) Received: from natura.cebas.csic.es (natura.cebas.csic.es [161.111.146.9]) by postgresql.org (Postfix) with ESMTP id EAD59475D3F for ; Thu, 24 Oct 2002 04:16:20 -0400 (EDT) Received: from natura.cebas.csic.es (localhost.localdomain [127.0.0.1]) by natura.cebas.csic.es (8.11.6/8.11.6) with ESMTP id g9O8Cdr12693 for ; Thu, 24 Oct 2002 10:12:39 +0200 Received: from there (equipo97.cebas.csic.es [161.111.146.97]) by natura.cebas.csic.es (8.11.6/8.11.6) with SMTP id g9O8Cdc12687 for ; Thu, 24 Oct 2002 10:12:39 +0200 Message-Id: <200210240812.g9O8Cdc12687@natura.cebas.csic.es> Content-Type: text/plain; charset="iso-8859-15" From: andres javier garcia garcia To: PostgreSQL List Subject: Basic question. Date: Thu, 24 Oct 2002 10:15:57 +0200 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/324 X-Sequence-Number: 10041 Hi; I'm sorry for ask this basic question. But I can't find in the documentation. I'm connected to a database; and how can I execute a query that I've got in a file? And. If I'm not connected to any database. Can I execute a file that makes a query on a database? Thanks ----------------- Javier