Jan Wieck JanWieck at Yahoo.com
Fri Aug 27 12:07:53 PDT 2010
Commit: http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commitdiff;h=939d9781c9aedf3e5366ed4ec1f3e8cce746b278

Log Message
-----------
Bug #115

Cause the parser to generate an ERROR if a WAIT FOR EVENT
occurs inside of a TRY block.

In reality, the wait itself isn't the problem. It is the combination
of creating the event (sync, store whatever) and waiting for it
inside the same try block. Try blocks don't commit until they end,
so the event never gets committed and logically, the wait must wait
forever.
(cherry picked from commit 783eee0a78628e62ae081fbebd366f9d3fad5af8)

Branch
------
master

Modified Files
--------------
src/slonik/parser.y |   36 ++++++++++++++++++++++++++++++++----
1 files changed, 32 insertions(+), 4 deletions(-)



More information about the Slony1-commit mailing list