From: | Samuel Stearns <SStearns(at)internode(dot)com(dot)au> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Shoaib Mir <shoaibmir(at)gmail(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Postgres Crash |
Date: | 2010-12-10 04:57:14 |
Message-ID: | 68B59BEDCD36854AADBDF17E91B2937A07844CD06C@EXCHMAIL.staff.internode.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Tom,
So you are in agreement that the fix is:
This simple patch seem to fix the problem
--- src/backend/postmaster/postmaster.c.orig 2010-10-27
19:07:42.000000000 +0400
+++ src/backend/postmaster/postmaster.c 2010-10-27 19:08:25.000000000 +0400
@@ -1917,7 +1917,7 @@
if (port->sock >= 0)
StreamClose(port->sock);
ConnFree(port);
- port = NULL;
+ return NULL;
}
else
{
--
From that previous link?
Sam
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Friday, 10 December 2010 3:22 PM
To: Samuel Stearns
Cc: Shoaib Mir; pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Postgres Crash
Samuel Stearns <SStearns(at)internode(dot)com(dot)au> writes:
> Yes, with gssapi.
Well, then we have our smoking gun, but it's still not clear *why*
the setsockopt() call failed.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Samuel Stearns | 2010-12-10 05:00:46 | Re: Postgres Crash |
Previous Message | Tom Lane | 2010-12-10 04:52:24 | Re: Postgres Crash |