Set the close-on-exec flag for libpq's socket to the backend, to avoid
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Oct 2004 20:23:19 +0000 (20:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Oct 2004 20:23:19 +0000 (20:23 +0000)
commit7627b91cd5d9a35415ecb15a55ea46d6b481700c
tree63dfe875ac894bf0bc4be897ff09eb8c5f518543
parent3fdd33ab99cf8c6507aa7cabc0f6a9e9dd39d9a7
Set the close-on-exec flag for libpq's socket to the backend, to avoid
any possible problems from child programs executed by the client app.
Per suggestion from Elliot Lee of Red Hat.
src/interfaces/libpq/fe-connect.c