From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | Florian Litot <flitot(at)besancon(dot)sema(dot)slb(dot)com> |
Cc: | Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>, Pgsql-Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] command |
Date: | 2002-11-07 16:54:18 |
Message-ID: | Pine.LNX.4.33.0211070953060.29627-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin pgsql-hackers |
On Tue, 5 Nov 2002, Florian Litot wrote:
> what is the command to launch a sql script not in psql
> thanks
without actually being IN psql, you can use it to run one line scripts
like this:
psql dbname -c -- 'single query goes here'
or you can run a large file full of sql queries like this:
psql dbname -f filename.sql
From | Date | Subject | |
---|---|---|---|
Next Message | Darko Prenosil | 2002-11-07 17:37:38 | Re: [HACKERS] command |
Previous Message | Andrew Sullivan | 2002-11-07 15:12:27 | Re: command |
From | Date | Subject | |
---|---|---|---|
Next Message | Olivier PRENANT | 2002-11-07 17:02:51 | Re: [HACKERS] PostgreSQL supported platform report and a |
Previous Message | Larry Rosenman | 2002-11-07 16:45:13 | Re: [HACKERS] PostgreSQL supported platform report and a |