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

Commits on Dec 12, 2025

  1. Add configurable receive buffer size

    This commit introduces a new GUC parameter 'pq_recv_buffer_size' to allow
    users to configure the size of the network receive buffer for each backend
    connection. The receive buffer is now dynamically allocated instead of
    using a fixed compile-time size.
    
    Key changes:
    - Make PqRecvBuffer dynamically allocated based on pq_recv_buffer_size GUC
    - Add pq_recv_buffer_size GUC parameter (default 8KB, min 8KB, max configurable)
      has enough space
    
    Benefits:
    - Configurable buffer size allows tuning for workloads with large messages
    - Maintains backward compatibility with 8KB default
    fila43 authored and Commitfest Bot committed Dec 12, 2025
    Configuration menu
    Copy the full SHA
    57c03f7 View commit details
    Browse the repository at this point in the history
  2. Remove dead memmove code from pq_recvbuf()

    The memmove block in pq_recvbuf() is unreachable dead code that has
    never been executed in practice.
    
    Analysis:
    pq_recvbuf() is only called from pq_getbytes() when the condition
    PqRecvPointer >= PqRecvLength is true (buffer is empty or exhausted).
    
    However, the memmove is only executed when PqRecvLength > PqRecvPointer
    (buffer contains unread data).
    
    These conditions are mutually exclusive:
      - Caller requires: PqRecvPointer >= PqRecvLength
      - memmove requires: PqRecvLength > PqRecvPointer
    fila43 authored and Commitfest Bot committed Dec 12, 2025
    Configuration menu
    Copy the full SHA
    17100d1 View commit details
    Browse the repository at this point in the history
  3. [CF 6266] Better Performance for PostgreSQL with large INSERTs

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/6266
    
    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/CAFjYY+JTULmdQUJcBK-hDGRSWZy0e+RFHrCy3vp9J1pCQ18+Ew@mail.gmail.com
    Author(s): Filip Januš
    Commitfest Bot committed Dec 12, 2025
    Configuration menu
    Copy the full SHA
    f38e76a View commit details
    Browse the repository at this point in the history
Loading