Don't explicitly close() the session socket during backend exit; instead
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 May 2003 19:15:34 +0000 (19:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 May 2003 19:15:34 +0000 (19:15 +0000)
commit268313a95b96b41d6e6116aa1143ca958884644f
treeb3af0cdead43eebbd5ccb850f1fc037c1b834fdd
parent9f47c4cc5c7833608908665c71e3f3dd4acc092f
Don't explicitly close() the session socket during backend exit; instead
leave it for the kernel to do after the process dies.  This allows clients
to wait for the backend to exit if they wish (after sending X message,
wait till EOF is detected on the socket).
src/backend/libpq/pqcomm.c