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

Commitba05dfe

Browse files
contrib/amcheck: Add heapam CHECK_FOR_INTERRUPTS().
Add a CHECK_FOR_INTERRUPTS() call to make heap relation verificationresponsive to query cancellations.Author: Mark Dilger <mark.dilger@enterprisedb.com>Discussion:https://postgr.es/m/CAH2-Wzk-9RtQgb2QiuLv8j2O0j9tSFKPmmch5nWSZhguUxvbrw%40mail.gmail.comBackpatch: 14-, where amcheck heap verification was introduced.
1 parented740b0 commitba05dfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎contrib/amcheck/verify_heapam.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,8 @@ verify_heapam(PG_FUNCTION_ARGS)
380380
{
381381
OffsetNumbermaxoff;
382382

383+
CHECK_FOR_INTERRUPTS();
384+
383385
/* Optionally skip over all-frozen or all-visible blocks */
384386
if (skip_option!=SKIP_PAGES_NONE)
385387
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp