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

Commitee68be1

Browse files
committed
Issue#61: Invalidate scan->xs_heaptid by hand.
Earlier it was done by invalidating scan->xs_ctup by RelationGetIndexScan().
1 parent32625a7 commitee68be1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/rumscan.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ rumbeginscan(Relation rel, int nkeys, int norderbys)
4141

4242
initRumState(&so->rumstate,scan->indexRelation);
4343

44+
#ifPG_VERSION_NUM >=120000
45+
/*
46+
* Starting from PG 12 we need to invalidate result's item pointer. Earlier
47+
* it was done by invalidating scan->xs_ctup by RelationGetIndexScan().
48+
*/
49+
ItemPointerSetInvalid(&scan->xs_heaptid);
50+
#endif
4451
scan->opaque=so;
4552

4653
returnscan;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp