Re: Inquiry From Form [pgsql]

Jonathan Bartlett <johnnyb@eskimo.com>

From: Jonathan Bartlett <johnnyb@eskimo.com>
To: Chris <cschneider@xede.com>
Cc: info@pgsql.com, "Marc G. Fournier" <scrappy@hub.org>, <pgsql-general@postgresql.org>
Date: 2003-02-14T21:22:45Z
Lists: pgsql-general
\i FILENAME

If you do a \? you get a listing of all commands.

Jon

On Fri, 7 Feb 2003, Chris wrote:

> how can I run a SQL script from a text file from within PSQL.
>
> Like in Oracle from SQLPlus I would use the @scriptname.sql  from the SQL prompt.  What is the syntax from PSQL?
>
> Thanks
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>