| From: | "Prabin Gade" <gade(at)aztec(dot)soft(dot)net> |
|---|---|
| To: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | BUG #1461: pg_restore fails to authenticate on win |
| Date: | 2005-02-04 16:16:12 |
| Message-ID: | 20050204161612.D678C9A5851@www.postgresql.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 1461
Logged by: Prabin Gade
Email address: gade(at)aztec(dot)soft(dot)net
PostgreSQL version: 8.0.1
Operating system: win2k and xp
Description: pg_restore fails to authenticate on win
Details:
Description: pg_restore is not able to authenticate in 8.0.1 (in 8.0.0 it is
working fine). I am starting the postmaster in md5 mode
Possible Cause: Had a glance through the code. The recent addition in
pg_backup_archiver (line 1724-1732) is causing this. Seems reading the
password in binary mode is causing the problem.
I checked it by commenting out the setmode for stdin and it worked fine.
Looks like passwd is accepted as text in sprompt.c while the stdin is
reading as binary
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Oliver Jowett | 2005-02-04 19:35:41 | Re: BUG #1459: Connection hangs when other connection is not |
| Previous Message | Peter Eisentraut | 2005-02-04 14:15:00 | Re: BUG #1459: Connection hangs when other connection is not committed |