BUG #2827

From: "CN" <cnliou9(at)fastmail(dot)fm>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2827
Date: 2006-12-18 04:14:59
Message-ID: 1166415299.28764.280925455@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-bugs by date

  From Date Subject
Next Message William ZHANG 2006-12-18 08:17:54 BUG #2835: Table inheritance and statement level trigger.
Previous Message Martin Pihlak 2006-12-17 12:28:58 Re: BUG #2830: Wrong results for prepared statements while clustering target table