]> 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:30 +0000 (21:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jun 2005 21:04:30 +0000 (21:04 +0000)
commitcd48aa0e9636c6225d34f366a9d71e7fc118c9f3
treee30c2f35cfba8269dbcd66b04b20bada90fb60d4
parent2e1229671aec11a7a85706d4c69631f525569563
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