Re: [bug fix] psql's \conninfo reports incorrect destination on Windows
В списке pgsql-hackers по дате отправления:
| От | MauMau |
|---|---|
| Тема | Re: [bug fix] psql's \conninfo reports incorrect destination on Windows |
| Дата | |
| Msg-id | 078B32DA99374C1696E2B13BA182AD08@maumau обсуждение исходный текст |
| Ответ на | Re: [bug fix] psql's \conninfo reports incorrect destination on Windows (Fujii Masao <masao.fujii@gmail.com>) |
| Список | pgsql-hackers |
From: "Fujii Masao" <masao.fujii@gmail.com> > On Fri, Jan 24, 2014 at 9:00 PM, MauMau <maumau307@gmail.com> wrote: >> OTOH, regarding PQhost(), I think we had better take my patch. >> connectOptions2() computes and set derived values to PGconn, so that >> PGconn's members have values which are actually used for connection. To >> follow that rule, PGconn->pghost may as well have "localhost" on machines >> without UNIX domain sockets. > > I'm not sure if we should follow that rule. As far as I read the libpq > code, > at least connectFailureMessage() and connectDBStart() do the same things > as PQhost() does now. Yes, I found them ugly, too. Maybe we can refactor them as a separate patch. Regards MauMau
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера