File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3868,7 +3868,7 @@ xml_xmlnodetoxmltype(xmlNodePtr cur, PgXmlErrorContext *xmlerrcxt)
3868
3868
3869
3869
result = xmlBuffer_to_xmltype (buf );
3870
3870
}
3871
- PG_FINALLY ()
3871
+ PG_FINALLY ();
3872
3872
{
3873
3873
if (nodefree )
3874
3874
nodefree (cur_copy );
Original file line number Diff line number Diff line change @@ -338,14 +338,16 @@ extern PGDLLIMPORT ErrorContextCallback *error_context_stack;
338
338
} \
339
339
else \
340
340
_do_rethrow = true; \
341
- {
341
+ { \
342
+ PG_exception_stack = _save_exception_stack; \
343
+ error_context_stack = _save_context_stack
342
344
343
345
#define PG_END_TRY () \
344
346
} \
345
- PG_exception_stack = _save_exception_stack; \
346
- error_context_stack = _save_context_stack; \
347
347
if (_do_rethrow) \
348
348
PG_RE_THROW(); \
349
+ PG_exception_stack = _save_exception_stack; \
350
+ error_context_stack = _save_context_stack; \
349
351
} while (0)
350
352
351
353
/*
You can’t perform that action at this time.
0 commit comments