Thanks to visit codestin.com
Credit goes to github.com

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

Commits on Dec 27, 2025

  1. pg_dump: Add --extra-dependencies option

    This patch introduces the new --extra-dependencies option to pg_dump.
    This allows users to provide additional dependency hints for
    reordering dumpable objects.  The goal is to overcome pg_upgrade
    failures that occur when extensions have dependencies not fully
    tracked in pg_depend.
    
    The option accepts a comma-separated list of dependencies in the
    format: "table-name#ref-table-name".
    
    When this option is used, the data for the referred table
    (ref-table-name) is dumped immediately after its definition is
    created, utilizing the dumpTableData() infrastructure.  This ensures
    that any subsequent object that depends on the data of the referred
    table (and not just its schema) does not fail during restore.
    
    For now, filter conditions are ignored during this immediate dump.
    Once the data is dumped, the corresponding dump object (dobj.dump)
    is set to DUMP_COMPONENT_NONE to prevent the data from being dumped
    again during the regular flow.
    
    Jeevan Chalke, per suggestion from Alvaro Herrera.
    jeevanchalke authored and Commitfest Bot committed Dec 27, 2025
    Configuration menu
    Copy the full SHA
    a6b278c View commit details
    Browse the repository at this point in the history
  2. pg_upgrade: Add --extra-dependencies option

    This commit adds a new --extra-dependencies command-line option to
    pg_upgrade.  The option allows users to provide manual dependency
    hints to control the order in which objects are dumped by pg_dump.
    
    This is primarily intended to resolve upgrade failures where certain
    extensions or complex schemas have functional dependencies that are
    not explicitly tracked in pg_depend.
    
    The option accepts a comma-separated list of pairs in the format
    "table#referenced_table".  This value is passed directly to the
    underlying pg_dump calls during the upgrade process.
    
    Jeevan Chalke, per suggestion from Alvaro Herrera.
    jeevanchalke authored and Commitfest Bot committed Dec 27, 2025
    Configuration menu
    Copy the full SHA
    2979202 View commit details
    Browse the repository at this point in the history
  3. [CF 6340] v1 - Add --extra-dependencies and immediate data dumping fo…

    …r pg_dump/pg_upgrade
    
    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/6340
    
    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/CAM2+6=UstF2jQc8tZMbb3A-ag84-UhKs2OnYQn7pwwarY9i2nA@mail.gmail.com
    Author(s): Jeevan Chalke
    Commitfest Bot committed Dec 27, 2025
    Configuration menu
    Copy the full SHA
    a7cbf71 View commit details
    Browse the repository at this point in the history
Loading