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

Commits on Apr 4, 2025

  1. Introduce file_copy_method GUC

    This GUC can be set to either COPY (default) or CLONE (if system
    supports it).
    
    If CLONE method is chosen, similar to COPY; but attempting to use
    efficient file copying system calls.  The kernel has the opportunity to
    share block ranges in copy-on-write file systems, or maybe push down
    the copy to network file systems and storage devices.
    
    Currently works on Linux, FreeBSD and macOS.  More systems could be
    supported.
    
    Author: Thomas Munro <[email protected]>
    Author: Nazir Bilal Yavuz <[email protected]>
    Reviewed-by: Robert Haas <[email protected]>
    Reviewed-by: Ranier Vilela <[email protected]>
    Discussion: https://postgr.es/m/CA%2BhUKGLM%2Bt%2BSwBU-cHeMUXJCOgBxSHLGZutV5zCwY4qrCcE02w%40mail.gmail.com
    nbyavuz authored and Commitfest Bot committed Apr 4, 2025
    Configuration menu
    Copy the full SHA
    251f234 View commit details
    Browse the repository at this point in the history
  2. [CF 4886] v10 - CREATE DATABASE ... STRATEGY=FILE_CLONE

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/4886
    
    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/CAN55FZ1AWi7YEO0T2yCQx6YkmgGbd4w2W88pDH_-v_uFUCmHJw@mail.gmail.com
    Author(s): Thomas Munro, Nazir Bilal Yavuz
    Commitfest Bot committed Apr 4, 2025
    Configuration menu
    Copy the full SHA
    d063943 View commit details
    Browse the repository at this point in the history
Loading