Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group