Re: 2 forks for md5?
От | Andrew Dunstan |
---|---|
Тема | Re: 2 forks for md5? |
Дата | |
Msg-id | 4332208C.7010507@dunslane.net обсуждение исходный текст |
Ответ на | 2 forks for md5? (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: 2 forks for md5?
|
Список | pgsql-hackers |
Andrew Dunstan wrote: > > I am puzzled about this. The strace output below is from CVS tip and > shows the postmaster and children during a single (local) connection > when the auth method is md5. What we see is 2 calls to clone() (that's > Linux for fork(), more or less). When the auth method is set to trust > or ident, there is only one clone(), which is what I expected. > > Have I missed something, or is there a bug here? Do I need to get the > debugger out? > > Confusion fixed (thanks, Tom). psql (via libpq) tries twice, if not given a password to begin with (via .pgpass or psql's -W). Ugly but at least not incomprehensible. cheers andrew
В списке pgsql-hackers по дате отправления: