Crash on attempt to connect to nonstarted server

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Crash on attempt to connect to nonstarted server
Дата
Msg-id AANLkTinjPB9U9+nrK7h7EFHdYCFT-MePSt1ppxiE+ztf@mail.gmail.com
обсуждение исходный текст
Ответы Re: Crash on attempt to connect to nonstarted server  (Bruce Momjian <bruce@momjian.us>)
Re: Crash on attempt to connect to nonstarted server  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I get a crash on win32 when connecting to a server that's not started.
In fe-connect.c, we have:
    display_host_addr = (conn->pghostaddr == NULL) &&        (strcmp(conn->pghost, host_addr) != 0);

In my case, conn->pghost is NULL at this point, as is
conn->pghostaddr. Thus, it crashes in strcmp().

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: CommitFest wrap-up
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] V3: Idle in transaction cancellation