Executing SQL commands in script files

From: "Susan Hoddinott" <susan(at)perth(dot)dialix(dot)com(dot)au>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Executing SQL commands in script files
Date: 2003-02-13 04:15:58
Message-ID: 003a01c2d316$a0c37320$1f84fea9@oemcomputer
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Following reading through all the documentation it is not clear to me how to run a script file containing a number of SQL commands. Presumably I do this through the psql interface but how do I tell it to run a script?

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andrew McMillan 2003-02-13 10:11:35 Re: psql: FATAL 1: IDENT authentication failed for user
Previous Message Sumaira Ali 2003-02-12 23:08:34 session level locks