Re: BUG #2484: pg_dump not support < redirect

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Yu-Lung Shao" <allen_shao(at)seed(dot)net(dot)tw>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #2484: pg_dump not support < redirect
Date: 2006-06-17 12:51:18
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0FA30@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> Bug reference: 2484
> Logged by: Yu-Lung Shao
> Email address: allen_shao(at)seed(dot)net(dot)tw
> PostgreSQL version: 8.1.4-1
> Operating system: WinXP Home
> Description: pg_dump not support < redirect
> Details:
>
> file: backup.cmd
>
> pg_dump.exe dbname -U postgres -W -f dbname.sql < password.txt
>
> in 8.0.3 is work
>
> in 8.1.4 is not work need manual key in password.

The bug is in 8.0.3 (and <= 8.1.3 as well), fixed in the latest
versions. If you want to pass the password to pg_dump, use pgpass.conf
or the PGPASSWORD environment variable.

//Magnus

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Brant 2006-06-17 17:25:37 Re: [Win32] Problem with rename()
Previous Message Yu-Lung Shao 2006-06-17 04:47:02 BUG #2484: pg_dump not support < redirect