Re: Inquiry From Form [pgsql] - Mailing list pgsql-general

From Emmanuel Charpentier
Subject Re: Inquiry From Form [pgsql]
Date
Msg-id 3E4E006B.7020407@bacbuc.dyndns.org
Whole thread Raw
In response to Inquiry From Form [pgsql]  (Chris <cschneider@xede.com>)
Responses Re: Inquiry From Form [pgsql]  (Will Trillich <will@serensoft.com>)
List pgsql-general
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?

\? would have told you that \! <script path and filename> would do the job ..

                    Emmanuel Charpentier


pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Calling a function from another
Next
From: Mario Weilguni
Date:
Subject: Re: In 7.3.1, will I be able to reindex toast?