Re: Running sql files

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "Pradeepkumar, Pyatalo (IE10)" <Pradeepkumar(dot)Pyatalo(at)honeywell(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Running sql files
Date: 2004-12-08 05:42:40
Message-ID: 20041208054240.GA17767@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chuming Chen 2004-12-08 13:08:07 correspondence between the numbered folder and actual database
Previous Message Pradeepkumar, Pyatalo (IE10) 2004-12-08 05:23:44 Re: Running sql files