]> granicus.if.org Git - postgresql/commit
Tweak make_inh_translation_lists() to check the common case wherein parent and
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 Apr 2007 05:56:41 +0000 (05:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 Apr 2007 05:56:41 +0000 (05:56 +0000)
commit925ca9d7de97529591d83f7c7f6c9bdef66afeae
treeb42711f185e310afab3773d695ac2c11d63b255b
parent402bd494ce98dc263a102da99b10c2e1d6a1460d
Tweak make_inh_translation_lists() to check the common case wherein parent and
child attnums are the same, before it grovels through each and every child
column looking for a name match.  Saves some time in large inheritance trees,
per example from Greg.
src/backend/optimizer/prep/prepunion.c