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

Commits on Jul 1, 2025

  1. Optimize function byteain() to avoid double scanning

    Optimized the function to eliminate the need for two scans,
    while preserving correctness and efficiency.
    
    Author: Steven Niu <[email protected]>
    bigplaice authored and Commitfest Bot committed Jul 1, 2025
    Configuration menu
    Copy the full SHA
    34e015f View commit details
    Browse the repository at this point in the history
  2. Refactor byteain() to avoid double scanning and simplify logic

    This patch reworks the escaped input handling in byteain() by replacing
    manual buffer management with a StringInfo-based single-pass parse.
    It combines ideas from a previous proposal by Steven Niu with additional
    improvements to structure and readability.
    
    Also adds regression tests covering edge cases for both hex and escaped
    formats.
    
    Includes input from discussion with Kirill Reshke on pgsql-hackers.
    dura0ok authored and Commitfest Bot committed Jul 1, 2025
    Configuration menu
    Copy the full SHA
    12b320b View commit details
    Browse the repository at this point in the history
  3. [CF 5670] avoid double scanning in function byteain

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5670
    
    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/CA+Yyo5R2FaYJUXsQJctt5kFHCrbnZNJ=H=b3brveGHREnhGpBQ@mail.gmail.com
    Author(s): Steven Niu
    Commitfest Bot committed Jul 1, 2025
    Configuration menu
    Copy the full SHA
    d79beef View commit details
    Browse the repository at this point in the history
Loading