Thread: pgsql: Set the close-on-exec flag for libpq's socket to the backend, to

pgsql: Set the close-on-exec flag for libpq's socket to the backend, to

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/interfaces/libpq:
        fe-connect.c (r1.285 -> r1.286)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c.diff?r1=1.285&r2=1.286)