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

Commitb77b601

Browse files
committed
Make pgstatindex respond to cancel interrupts.
A similar problem for pgstattuple() was fixed in April of 2010 by commit33065ef, but pgstatindex() seems to havebeen overlooked.Back-patch all the way, as with that commit, though not to 7.4 through8.1, since those are now EOL.
1 parentddc36df commitb77b601

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎contrib/pgstattuple/pgstatindex.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ pgstatindex(PG_FUNCTION_ARGS)
155155
Pagepage;
156156
BTPageOpaqueopaque;
157157

158+
CHECK_FOR_INTERRUPTS();
159+
158160
/* Read and lock buffer */
159161
buffer=ReadBuffer(rel,blkno);
160162
LockBuffer(buffer,BUFFER_LOCK_SHARE);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp