Re: Inquiry From Form [pgsql]

From: Jonathan Bartlett <johnnyb(at)eskimo(dot)com>
To: Chris <cschneider(at)xede(dot)com>
Cc: info(at)pgsql(dot)com, "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Inquiry From Form [pgsql]
Date: 2003-02-14 21:22:45
Message-ID: Pine.GSU.4.44.0302141322270.14479-100000@eskimo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeffrey Baker 2003-02-14 21:31:37 Re: In 7.3.1, will I be able to reindex toast?
Previous Message Tom Lane 2003-02-14 21:21:33 Re: pgtcl way of specifying a user