Re: quiet restore - Mailing list pgsql-novice

From Harold A. Giménez Ch.
Subject Re: quiet restore
Date
Msg-id c807ef1a0810031041t6f780115y73b81a41f5f53522@mail.gmail.com
Whole thread Raw
In response to quiet restore  ("Keith Turner" <kturner@cloudsystems.com>)
List pgsql-novice
You could simply pipe it to /dev/null


psql -U USER DATABASE < RESTORE_FILENAME > /dev/null




On Fri, Oct 3, 2008 at 1:24 PM, Keith Turner <kturner@cloudsystems.com> wrote:
Hi,
 
I am writing a command line script that restores a database (not created by me) using the command
 
psql -U USER DATABASE < RESTORE_FILENAME
 
This works fine, but it outputs to the command line window. Is there a way to suppress this?
 
Keith
 
 

pgsql-novice by date:

Previous
From: "Keith Turner"
Date:
Subject: quiet restore
Next
From: "Dobes Vandermeer"
Date:
Subject: Re: Optimizing sum() operations