]> granicus.if.org Git - postgresql/commit
Minor preparatory refactoring for UPDATE row movement.
authorRobert Haas <rhaas@postgresql.org>
Thu, 4 Jan 2018 21:25:49 +0000 (16:25 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 4 Jan 2018 21:25:49 +0000 (16:25 -0500)
commitef6087ee5fa84206dc24ba1339e229354b05cf2a
treec9e9126a3b971adbb19d9245d02f6e4de3fcaada
parentac3ff8b1d8f98da38c53a701e6397931080a39cf
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
src/backend/catalog/partition.c
src/backend/commands/tablecmds.c
src/include/catalog/partition.h