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

Commit191dce1

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 parent5bc429a commit191dce1

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
@@ -395,6 +395,8 @@ verify_heapam(PG_FUNCTION_ARGS)
395395
{
396396
OffsetNumbermaxoff;
397397

398+
CHECK_FOR_INTERRUPTS();
399+
398400
/* Optionally skip over all-frozen or all-visible blocks */
399401
if (skip_option!=SKIP_PAGES_NONE)
400402
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp