]> granicus.if.org Git - postgresql/commit
Tighten up some code in RelationBuildPartitionDesc.
authorRobert Haas <rhaas@postgresql.org>
Fri, 1 Sep 2017 19:16:44 +0000 (15:16 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 1 Sep 2017 19:16:44 +0000 (15:16 -0400)
commit0cb8b7531db063bce7def2ef24f616285f1f4b04
tree1da6e1cc1f69ace3c11df3bf71622927b1bdea63
parent9d6b160d7db76809f0c696d9073f6955dd5a973a
Tighten up some code in RelationBuildPartitionDesc.

This probably doesn't save anything meaningful in terms of
performance, but making the code simpler is a good idea anyway.

Code by Beena Emerson, extracted from a larger patch by Jeevan
Ladhe, slightly adjusted by me.

Discussion: http://postgr.es/m/CAOgcT0ONgwajdtkoq+AuYkdTPY9cLWWLjxt_k4SXue3eieAr+g@mail.gmail.com
src/backend/catalog/partition.c