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

Configurable smoc_gin_ops index resolution#86

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

Merged

Conversation

df7cb
Copy link
Contributor

Back when smoc GIN indexes were implemented, indexes did not support opclass options yet; that was added only later in PG 13.

Add an "order" parameter on the smoc_gin_ops opclass to allow picking the smoc index granularity between level 0 and 12. (Larger levels do not fit into the internal int32 datatype anymore.)

Example:
create index on sky using gin (coverage smoc_gin_ops (order = 8))

Copy link
Contributor

@msdemleimsdemlei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This is a useful new feature for me, so +1 on that account. I've lightly reviewed the code and have found no reason to complain (disclaimer: I'm no expert for PG indexing).

vitcpp reacted with thumbs up emoji
@df7cbdf7cbforce-pushed thesmoc_gin_options branch 2 times, most recently fromd01bd7d toc72377aCompareOctober 25, 2023 09:07
Back when smoc GIN indexes were implemented, indexes did not supportopclass options yet; that was added only later in PG 13.Add an "order" parameter on the smoc_gin_ops opclass to allow pickingthe smoc index granularity between level 0 and 12. (Larger levels do notfit into the internal int32 datatype anymore.)Example:`create index on sky using gin (coverage smoc_gin_ops (order = 8))`
@vitcppvitcpp merged commitc0777a7 intopostgrespro:masterOct 26, 2023
@df7cbdf7cb deleted the smoc_gin_options branchOctober 26, 2023 20:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@msdemleimsdemleimsdemlei approved these changes

@vitcppvitcppvitcpp approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@df7cb@msdemlei@vitcpp

[8]ページ先頭

©2009-2025 Movatter.jp