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/5889~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/5889
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Aug 10, 2025

  1. Refactor bytea_sortsupport()

    Previously bytea_sortsupport() was implemented as a wrapper function for
    varstr_sortsupport(). There were several problems with this.
    
    Firstly, this was error-prone. Changing logic for string types could affect
    bytea logic and vice versa.
    
    Secondly, the bytea-related part of the code was difficult to reason about.
    It was mixed with the logic for other types.
    
    Lastly, the performance and memory consumption could be optimized a little for
    the bytea case.
    
    Use independent bytea_sortsupport() implementation for the named reasons.
    
    Aleksander Alekseev, reviewed by TODO FIXME
    Discussion: TODO FIXME
    afiskon authored and Commitfest Bot committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    6610ff1 View commit details
    Browse the repository at this point in the history
  2. [CF 5889] v2 - Refactor bytea_sortsupport(), take two

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5889
    
    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/CAJ7c6TNbq=+f8YKVE6Mrwf_omfi_BARdsj2tOniS4nRVLyEBKw@mail.gmail.com
    Author(s): Aleksander Alekseev
    Commitfest Bot committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    c89f0af View commit details
    Browse the repository at this point in the history
Loading