git.postgresql.org Git - postgresql.git/commit
2000年5月26日 01:26:19 +0000 (01:26 +0000)
2000年5月26日 01:26:19 +0000 (01:26 +0000)
commit 2af53f3762513e397177d9b13dcfdbba7effc7a0
After closing frontend socket, set MyProcPort->sock = -1 to ensure that
subsequent I/O attempts fail cleanly. I'm speculating about failure
scenarios in which we do pq_close, then something in a proc_exit routine
opens a file (re-using that kernel FD number), then something else
fails and tries to write an elog message to the frontend ... message
ends up in opened file, oops. No known examples of this but it seems
like a potential hole.
This is the main PostgreSQL git repository.
RSS
Atom