Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5890~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5890
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Aug 9, 2025

  1. Add check for compressed posting list items number in GIN

    Current code doesn't check if compressed posting list contains all
    new items during index tuple creation which potentially can lead to
    lost of data. It doesn't happen now because the size limit of compressed
    posting list is the same as gin index tuple size limit, so when compressed
    posting list reaches its limit, index tuple size with such data always
    too large to be inserted. This commit adds check for compressed items number.
    
    Also, in case of adding items to an existing index tuple we can use more
    precise size limit for compressed posting list as we have old index tuple
    and can say how many space we have for posting list. It helps to avoid
    redundant calls to GinFormTuple.
    dvcer authored and Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    ce0d102 View commit details
    Browse the repository at this point in the history
  2. [CF 5890] v2 - GIN tries to form a tuple with a partial compressedLis…

    …t during insertion
    
    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5890
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/CAE7r3MK8rNnRe+jQhcmRhMqRyDx5thjpAVMUPWtnJQT8bcYMwA@mail.gmail.com
    Author(s): Arseniy Mukhin
    Commitfest Bot committed Aug 9, 2025
    Configuration menu
    Copy the full SHA
    5c64d09 View commit details
    Browse the repository at this point in the history
Loading