Tighten up some code in RelationBuildPartitionDesc.

Robert Haas <rhaas@postgresql.org>

Commit: 0cb8b7531db063bce7def2ef24f616285f1f4b04
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-09-01T19:16:44Z
Releases: 11.0
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

Files

PathChange+/−
src/backend/catalog/partition.c modified +17 −37

Discussion