Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb303f6c

Browse files
committed
Merge branch 'master' into picky_nodes
2 parents143fb25 +83cd021 commitb303f6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/pl_funcs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ remove_on_xact_abort_callbacks(void *arg)
176176
else
177177
UnregisterSubXactCallback(on_subxact_abort_callback,arg);
178178

179-
Assert(parg->expired== true);/* the job should always be done */
180179
pfree(arg);
181180
}
182181

@@ -219,7 +218,8 @@ on_xact_abort_callback(XactEvent event, void *arg)
219218
part_abort_arg*parg= (part_abort_arg*)arg;
220219

221220
/* Check that this is an aborted Xact & action has not expired yet */
222-
if (event==XACT_EVENT_ABORT&& !parg->expired)
221+
if ((event==XACT_EVENT_ABORT||event==XACT_EVENT_PARALLEL_ABORT)&&
222+
!parg->expired)
223223
{
224224
handle_part_event_cancellation(parg);
225225

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp