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

Commits on Apr 22, 2025

  1. Add the PLAN clauses for JSON_TABLE Revisited part 1

    This patch adds the PLAN clauses for JSON_TABLE, which allow the user
    to specify how data from nested paths are joined, allowing considerable
    freedom in shaping the tabular output of JSON_TABLE.
    PLAN DEFAULT allows the user to specify the global strategies when
    dealing with sibling or child nested paths. The is often sufficient
    to achieve the necessary goal, and is considerably simpler than the
    full PLAN clause, which allows the user to specify the strategy to be
    used for each named nested path.
    
    Code was taken from v45-0001-JSON_TABLE.patch from
    https://www.postgresql.org/message-id/CA%2BHiwqE1gcPkQhBko%2BUbvVvAtRBaLfOpmHbFrK79pW_5F51Oww%40mail.gmail.com
    
    Original patch was modified according to recent changes in SQL/JSON
    JSON_TABLE, and invalid PLAN test results found while adapting
    original patch to these changes.
    
    Author: Nikita Glukhov
    Author: Teodor Sigaev
    Author: Oleg Bartunov
    Author: Alexander Korotkov
    Author: Andrew Dunstan
    Author: Amit Langote
    Author: Anton A. Melnikov
    Author: Nikita Malakhov
    
    Reviewers have included (in no particular order) Andres Freund, Alexander
    Korotkov, Pavel Stehule, Andrew Alsup, Erik Rijkers, Zihong Yu,
    Himanshu Upadhyaya, Daniel Gustafsson, Justin Pryzby, Álvaro Herrera,
    Jian He
    
    Discussion: https://postgr.es/m/[email protected]
    Discussion: https://postgr.es/m/[email protected]
    Discussion: https://postgr.es/m/abd9b83b-aa66-f230-3d6d-734817f0995d%40postgresql.org
    Discussion: https://postgr.es/m/CA+HiwqE4XTdfb1nW=Ojoy_tQSRhYt-q_kb6i5d4xcKyrLC1Nbg@mail.gmail.com
    Nikita Malakhov authored and Commitfest Bot committed Apr 22, 2025
    Configuration menu
    Copy the full SHA
    9d66ac0 View commit details
    Browse the repository at this point in the history
  2. Add the PLAN clauses for JSON_TABLE Revisited part 2

    This patch adds tests for the JSON_TABLE PLAN clause.
    
    Code was taken from v45-0001-JSON_TABLE.patch from
    https://www.postgresql.org/message-id/CA%2BHiwqE1gcPkQhBko%2BUbvVvAtRBaLfOpmHbFrK79pW_5F51Oww%40mail.gmail.com
    
    Original patch was modified according to recent changes in SQL/JSON
    JSON_TABLE, and invalid PLAN test results found while adapting
    original patch to these changes.
    
    Author: Nikita Glukhov
    Author: Teodor Sigaev
    Author: Oleg Bartunov
    Author: Alexander Korotkov
    Author: Andrew Dunstan
    Author: Amit Langote
    Author: Anton A. Melnikov
    Author: Nikita Malakhov
    
    Reviewers have included (in no particular order) Andres Freund, Alexander
    Korotkov, Pavel Stehule, Andrew Alsup, Erik Rijkers, Zihong Yu,
    Himanshu Upadhyaya, Daniel Gustafsson, Justin Pryzby, Álvaro Herrera,
    Jian He
    
    Discussion: https://postgr.es/m/[email protected]
    Discussion: https://postgr.es/m/[email protected]
    Discussion: https://postgr.es/m/abd9b83b-aa66-f230-3d6d-734817f0995d%40postgresql.org
    Discussion: https://postgr.es/m/CA+HiwqE4XTdfb1nW=Ojoy_tQSRhYt-q_kb6i5d4xcKyrLC1Nbg@mail.gmail.com
    Nikita Malakhov authored and Commitfest Bot committed Apr 22, 2025
    Configuration menu
    Copy the full SHA
    5012608 View commit details
    Browse the repository at this point in the history
  3. [CF 5478] v20 - SQL/JSON json_table PLAN clause

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5478
    
    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/CAN-LCVPSYfLZHcmvct-_nGZ7peTat-Bo--04K9VXGU8p_TcbWg@mail.gmail.com
    Author(s): Fedor Sigaev, Alexander Korotkov, Andrew Dunstan, Amit Langote, Nikita Glukhov, Oleg Bartunov, Anton Melnikov, Nikita Malakhov
    Commitfest Bot committed Apr 22, 2025
    Configuration menu
    Copy the full SHA
    8f8bc84 View commit details
    Browse the repository at this point in the history
Loading