Re: quiet restore

From: Harold A(dot) Giménez Ch(dot) <harold(dot)gimenez(at)gmail(dot)com>
To: "Keith Turner" <kturner(at)cloudsystems(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: quiet restore
Date: 2008-10-03 17:41:28
Message-ID: c807ef1a0810031041t6f780115y73b81a41f5f53522@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)cloudsystems(dot)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
>
>
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Dobes Vandermeer 2008-10-03 19:13:59 Re: Optimizing sum() operations
Previous Message Keith Turner 2008-10-03 17:24:42 quiet restore