pgsql: Minor preparatory refactoring for UPDATE row movement. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Minor preparatory refactoring for UPDATE row movement.
Date
Msg-id E1eXD6q-0001Ia-Sm@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix build with older OpenSSL versions
Next
From: Thomas Munro
Date:
Subject: Re: pgsql: Add parallel-aware hash joins.