Re: BUG #4602: child processes inherit database socket

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jasen Betts" <jasen(at)treshna(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4602: child processes inherit database socket
Date: 2009-01-06 13:15:14
Message-ID: 7740.1231247714@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Jasen Betts" <jasen(at)treshna(dot)com> writes:
> libpq creates sockets to the server without CLOEXEC.

Only if you have a very broken build; see fe-connect.c around line 1160
(in CVS HEAD, but the fcntl() has been there for many years).

Perhaps what you really meant to say is "for some reason the fcntl
call isn't getting compiled in on my platform", but with no platform
details it's impossible for us to do anything about that.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message val 2009-01-06 14:00:06 Re: PANIC: failed to re-find parent key in "100924" for split pages 1606/1673
Previous Message Jasen Betts 2009-01-06 09:56:34 BUG #4602: child processes inherit database socket