Re: Postgres Crash - Mailing list pgsql-admin

From Samuel Stearns
Subject Re: Postgres Crash
Date
Msg-id 68B59BEDCD36854AADBDF17E91B2937A07844CD06C@EXCHMAIL.staff.internode.com.au
Whole thread Raw
In response to Re: Postgres Crash  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@sss.pgh.pa.us]
Sent: Friday, 10 December 2010 3:22 PM
To: Samuel Stearns
Cc: Shoaib Mir; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Postgres Crash

Samuel Stearns <SStearns@internode.com.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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres Crash
Next
From: Samuel Stearns
Date:
Subject: Re: Postgres Crash