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

Commit08d32c6

Browse files
knizhnikkelvich
authored andcommitted
Do not close spill file because it is automatically closed on transaction commit/rollback
1 parent979a388 commit08d32c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎pglogical_apply.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,9 +1147,11 @@ void MtmExecutor(void* work, size_t size)
11471147
MTM_LOG2("%d: REMOTE end abort transaction %llu",MyProcPid, (long64)MtmGetCurrentTransactionId());
11481148
}
11491149
PG_END_TRY();
1150+
#if0/* spill file is expecrted to be closed by tranaction commit or rollback */
11501151
if (spill_file >=0) {
11511152
MtmCloseSpillFile(spill_file);
11521153
}
1154+
#endif
11531155
MemoryContextResetAndDeleteChildren(MtmApplyContext);
11541156
}
11551157

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp