]> granicus.if.org Git - postgresql/commit
Push enable/disable of notify and catchup interrupts all the way down
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jun 2005 21:04:08 +0000 (21:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jun 2005 21:04:08 +0000 (21:04 +0000)
commitb38bcb2fa0de59ba09ccbb03d4ae9d65cbbf5326
tree7853feb3bf421cbcad728e28018717b3c3d7b94e
parente0632407aa93047096ffe3dfe9374f0d0252b541
Push enable/disable of notify and catchup interrupts all the way down
to just around the bare recv() call that gets a command from the client.
The former placement in PostgresMain was unsafe because the intermediate
processing layers (especially SSL) use facilities such as malloc that are
not necessarily re-entrant.  Per report from counterstorm.com.
src/backend/libpq/be-secure.c
src/backend/tcop/postgres.c
src/include/tcop/tcopprot.h