Re: command - Mailing list pgsql-hackers

From scott.marlowe
Subject Re: command
Date
Msg-id Pine.LNX.4.33.0211070953060.29627-100000@css120.ihs.com
Whole thread Raw
In response to command  (Florian Litot <flitot@besancon.sema.slb.com>)
List 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


pgsql-hackers by date:

Previous
From: Olivier PRENANT
Date:
Subject: Re: [PORTS] PostgreSQL supported platform report and a
Next
From: Larry Rosenman
Date:
Subject: Re: [PORTS] PostgreSQL supported platform report and a