Re: Running sql files - Mailing list pgsql-admin

From Michael Fuhr
Subject Re: Running sql files
Date
Msg-id 20041208054240.GA17767@winnie.fuhr.org
Whole thread Raw
In response to Re: Running sql files  ("Pradeepkumar, Pyatalo (IE10)" <Pradeepkumar.Pyatalo@honeywell.com>)
List pgsql-admin
On Tue, Dec 07, 2004 at 10:23:44PM -0700, Pradeepkumar, Pyatalo (IE10) wrote:

> Thanks a lot for all your valuable inputs. I tried "\set QUIET" and "\unset
> QUIET" arount certain parts of the file. It works fine with INSERT COMMANDS.
> But incase of creating tables, it still prints NOTICE and ERROR messages on
> the screen...how do I restrict that.

You could SET the client_min_messages variable.  See the documentation
for the SET command and the "Run-time Configuration" section in the
"Server Run-time Environment" chapter.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-admin by date:

Previous
From: John DeSoi
Date:
Subject: Re: Running sql files
Next
From: Michael Fuhr
Date:
Subject: Re: Running sql files