BUG #2827 - Mailing list pgsql-bugs

From CN
Subject BUG #2827
Date
Msg-id 1166415299.28764.280925455@webmail.messagingengine.com
Whole thread Raw
List pgsql-bugs
My original "debugging code" was wrong. A minor correction to it seems
to find something different:

addr_cur->ai_addr

is null. I presume this is the cause resulting in AV when calling
memcpy().

New wine enters function
PostgresPollingStatusType PQconnectPoll(PGconn *conn)
in file "fe-connect.c":

case CONNECTION_NEEDED:
    while (conn->addr_cur != NULL)
    {
    struct addrinfo *addr_cur = conn->addr_cur;

if(addr_cur->ai_addr == NULL){
  fopen("c:\\log.txt","a+");
  fputs("addr_cur->ai_addr",f); //this does print!
  fclose(f);
}

Regards,
CN

--
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

pgsql-bugs by date:

Previous
From: "Martin Pihlak"
Date:
Subject: Re: BUG #2830: Wrong results for prepared statements while clustering target table
Next
From: "Kevin Grittner"
Date:
Subject: Re: BUG #2830: Wrong results for prepared statements