Re: [HACKERS] Crash on attempt to connect to nonstarted server

2010-12-18 Thread Bruce Momjian
bruce wrote: > Magnus Hagander wrote: > > 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,

Re: [HACKERS] Crash on attempt to connect to nonstarted server

2010-12-16 Thread Bruce Momjian
Tom Lane wrote: > Magnus Hagander writes: > > 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,

Re: [HACKERS] Crash on attempt to connect to nonstarted server

2010-12-16 Thread Tom Lane
Magnus Hagander writes: > 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 thi

Re: [HACKERS] Crash on attempt to connect to nonstarted server

2010-12-16 Thread Bruce Momjian
Magnus Hagander wrote: > 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 t

[HACKERS] Crash on attempt to connect to nonstarted server

2010-12-16 Thread Magnus Hagander
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