]> granicus.if.org Git - postgresql/commit
Avoid some code duplication in map_partition_varattnos().
authorRobert Haas <rhaas@postgresql.org>
Thu, 19 Jan 2017 19:13:15 +0000 (14:13 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 19 Jan 2017 19:13:15 +0000 (14:13 -0500)
commitcc144155f7cdd51e19984f82da6625dc75de9fda
tree6de0f6e0a574aa3e296bfd9d6dbbb206b01684a8
parent8a8afe2f54c27dbb47df3853803158c5205d41ce
Avoid some code duplication in map_partition_varattnos().

Code to map attribute numbers in map_partition_varattnos() duplicates
what convert_tuples_by_name_map() does.  Avoid that.

Amit Langote, per a report from Álvaro Herrera.

Discussion: http://postgr.es/m/9ce97382-54c8-deb3-9ee9-a2ec271d866b%40lab.ntt.co.jp
src/backend/catalog/partition.c