Re: Basic question.

From: Tomasz Myrta <jasiek(at)klaster(dot)net>
To: andres javier garcia garcia <andresjavier(dot)garcia(at)wanadoo(dot)es>
Cc: PostgreSQL List <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Basic question.
Date: 2002-10-24 09:14:27
Message-ID: 3DB7B9F3.2000209@klaster.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> 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 <filename> -U <user> <database>
I'm not sure, but you can add export PGPASSWORD=<password> before this
command if you need a password.
Tomasz Myrta

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message patrick 2002-10-24 09:15:44 Re: sub-select trouble: wrong SQL or PostgreSQL issue?
Previous Message Tomasz Myrta 2002-10-24 08:59:10 Re: Basic question.