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

[PGPRO-11599] Fix wrong results returned when order_by_attach=TRUE.#155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
arseny114 wants to merge1 commit intopostgrespro:master
base:master
Choose a base branch
Loading
fromarseny114:PGPRO-11599

Conversation

arseny114
Copy link
Contributor

With order_by_attach=TRUE, the RUM index arranges the entries in the posting lists (for keys that have additional information) in order of sorting by additional information. For the remaining keys, the records are sorted by tid. The scanGetItemRegular() function assumes that all posting lists have the same sorting, so it was not suitable for sorting in this case.

In order to fix this, the scanGetItemRegularAltorderWithAddInfo() function and tests have been added to verify that the index works correctly in the described situation.

Tags: rum

With order_by_attach=TRUE, the RUM index arranges the entries inthe posting lists (for keys that have additional information) inorder of sorting by additional information. For the remaining keys,the records are sorted by tid. The scanGetItemRegular() functionassumes that all posting lists have the same sorting, so it wasnot suitable for sorting in this case.In order to fix this, the scanGetItemRegularAltorderWithAddInfo()function and tests have been added to verify that the index workscorrectly in the described situation.Tags: rum
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@arseny114

[8]ページ先頭

©2009-2025 Movatter.jp