Nikita Malakhov · GitHub

Commits on Aug 18, 2026

  1. DELETE/UPDATE more than one row in partitioned foreign table (1/2)

    There is known bug in delete and update rows in partitioned foreign
    tables via FDW [1]
    Current copyTuple and copySlot machinery supposes that
    source and destination slots and tuples always match. This patch modifies
    copy internals to consider more complex case and copy only actual attributes,
    and if destination slot/tuple has more they are set to null. This is a proof
    of concept patch which shows such mechanics does not break anything and
    allows to use it in cases when we have to pass or receive not matching number
    of attributes.
    Core patch - introduction of remote table OID returned from remote
    query and passing it through planner and executor to use in foreign
    queries
    [1] Discussion: https://www.postgresql.org/message-id/flat/20250718175314.4513c00a%40karst

    Nikita Malakhov Commitfest Bot

    authored and Commitfest Bot committed

    Aug 18, 2026
    Configuration menu

    Browse the repository at this point in the history

  2. Configuration menu

    Browse the repository at this point in the history

  3. Configuration menu

    Browse the repository at this point in the history

Read the original on github.com ↗