Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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/4716~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/4716
Choose a head ref
  • 3 commits
  • 13 files changed
  • 2 contributors

Commits on May 30, 2025

  1. Introduce json format for COPY TO

    json format is only allowed in COPY TO operation.
    also cannot be used with {header, default, null, delimiter} options and many other options.
    fully tested on src/test/regress/sql/copy.sql.
    
    CopyFormat enum part was coied from Joel Jacobson <joel@compiler.org>
    refactored by Jian He to fix some miscellaneous issue.
    refactored by Junwang Zhao to adapt the newly introduced CopyToRoutine struct(2e4127b).
    
    Author: Joe Conway <mail@joeconway.com>
    Reviewed-by: "Andrey M. Borodin" <x4mmm@yandex-team.ru>,
    Reviewed-by: Dean Rasheed <dean.a.rasheed@gmail.com>,
    Reviewed-by: Daniel Verite <daniel@manitou-mail.org>,
    Reviewed-by: Andrew Dunstan <andrew@dunslane.net>,
    Reviewed-by: Davin Shearer <davin@apache.org>,
    Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>,
    Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
    
    discussion: https://postgr.es/m/CALvfUkBxTYy5uWPFVwpk_7ii2zgT07t3d-yR_cy4sfrrLU%3Dkcg%40mail.gmail.com
    discussion: https://postgr.es/m/6a04628d-0d53-41d9-9e35-5a8dc302c34c@joeconway.com
    jianhe-fun authored and Commitfest Bot committed May 30, 2025
    Configuration menu
    Copy the full SHA
    9955eb8 View commit details
    Browse the repository at this point in the history
  2. Add option force_array for COPY JSON FORMAT

    force_array option can only be used in COPY TO with JSON format.
    it make the output json output behave like json array type.
    
    refactored by Junwang Zhao to adapt the newly introduced CopyToRoutine struct(2e4127b).
    
    Author: Joe Conway <mail@joeconway.com>
    discussion: https://postgr.es/m/CALvfUkBxTYy5uWPFVwpk_7ii2zgT07t3d-yR_cy4sfrrLU%3Dkcg%40mail.gmail.com
    discussion: https://postgr.es/m/6a04628d-0d53-41d9-9e35-5a8dc302c34c@joeconway.com
    jianhe-fun authored and Commitfest Bot committed May 30, 2025
    Configuration menu
    Copy the full SHA
    72f578b View commit details
    Browse the repository at this point in the history
  3. [CF 4716] v16 - COPY TO json

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/4716
    
    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/CACJufxGmSw5GUOquAT+q7B0k+xweU3NwcNc53fLjHQjsMeanaw@mail.gmail.com
    Author(s): Joe Conway
    Commitfest Bot committed May 30, 2025
    Configuration menu
    Copy the full SHA
    5139b02 View commit details
    Browse the repository at this point in the history
Loading