pgsql: Minor preparatory refactoring for UPDATE row movement.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Minor preparatory refactoring for UPDATE row movement.
Date: 2018-01-04 21:31:32
Message-ID: E1eXD6q-0001Ia-Sm@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Minor preparatory refactoring for UPDATE row movement.

Generalize is_partition_attr to has_partition_attrs and make it
accessible from outside tablecmds.c. Change map_partition_varattnos
to clarify that it can be used for mapping between any two relations
in a partitioning hierarchy, not just parent -> child.

Amit Khandekar, reviewed by Amit Langote, David Rowley, and me.
Some comment changes by me.

Discussion: http://postgr.es/m/CAJ3gD9fWfxgKC+PfJZF3hkgAcNOy-LpfPxVYitDEXKHjeieWQQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ef6087ee5fa84206dc24ba1339e229354b05cf2a

Modified Files
--------------
src/backend/catalog/partition.c | 87 +++++++++++++++++++++++++++++++++++-----
src/backend/commands/tablecmds.c | 71 +++-----------------------------
src/include/catalog/partition.h | 6 ++-
3 files changed, 87 insertions(+), 77 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2018-01-04 22:14:26 Re: pgsql: Add parallel-aware hash joins.
Previous Message Peter Eisentraut 2018-01-04 21:23:40 pgsql: Fix build with older OpenSSL versions