Re: Escaping ":" in .pgpass - code or docs bug?
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Escaping ":" in .pgpass - code or docs bug? |
| Дата | |
| Msg-id | 1324323646-sup-3128@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Re: Escaping ":" in .pgpass - code or docs bug? (Richard Huxton <dev@archonet.com>) |
| Ответы |
Re: Escaping ":" in .pgpass - code or docs bug?
|
| Список | pgsql-hackers |
Excerpts from Richard Huxton's message of lun dic 19 16:33:31 -0300 2011: > On 19/12/11 16:48, Robert Haas wrote: > > On Sat, Dec 17, 2011 at 3:27 AM, Ross Reedstrom<reedstrm@rice.edu> wrote: > >> This should either be fixed by changing the documentation to say to not escape > >> colons or backslashes in the password part, only, or modify this function > >> (PasswordFromFile) to silently unescape the password string. It already copies > >> it. > > > > My vote is for a doc correction in the back-branches and a behavior > > change in master. > > Seems sensible - presumably mentioning "this will be corrected in 9.2"? > > It's clearly not what you'd call "urgent" since nobody else seems to > have noticed before now. Yeah, it is a pretty old bug -- this code was clearly written by some rookie that didn't know very well what he was doing. -- Álvaro Herrera <alvherre@commandprompt.com> The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления: