Re: pg_dump problem

From: Kyle <kaf(at)nwlink(dot)com>
To: user Postgresql ML <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump problem
Date: 2000-07-27 16:25:17
Message-ID: 14720.25197.319560.153318@ip146.usw5.rb1.bel.nwlink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrew Sullivan wrote:
[pg_dump problem]
> If you just type the username and password after that, you'll get the
> output you want. Problem is that you're redirecting all output to a
> file, and that includes the username and password prompts.
>
> In 7.x versions, this appears to be fixed using the '-f' switch:
>
> mymachine:~$ pg_dump -u [database] -f [somefile]

what if you want to pipe the output to your favorite compression
utility? I like doing a weekly:
pg_dumpall | bzip2 - > dump.bz2

-Kyle

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Mercer 2000-07-27 16:47:25 Re:
Previous Message Lamar Owen 2000-07-27 16:24:00 Re: