Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA08152; Sun, 4 Jul 93 18:23:49 -0700
Date: Sun, 4 Jul 93 18:23:49 -0700
Message-Id: <9307050123.AA08152@postgres.Berkeley.EDU>
From: joseash@bush.cs.tamu.edu (Alfredo Sanchez)
Subject: Re: file compiling
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Reply-To: joseash@bush.cs.tamu.edu

Alistair Ashcroft writes:
 > 
 > I have been looking through the Postgres Manuals and can find no way
 > to send a file to the back end.  
 > 
 > By this I mean, if I have my 'schema' in a text file, is there any way  
 > of submitting this file to the Postgres Engine?
 > 

Interactively, you can use the monitor and \i
or you can do
	monitor yourdatabase < yourpostquelfile

Hope that helps,

J Alfredo Sanchez H
-------------------
Hypermedia Research Lab
Texas A&M University
