pgsql: Tweak make_inh_translation_lists() to check the common case

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Tweak make_inh_translation_lists() to check the common case
Дата
Msg-id 20070421055641.DACF09FB1C6@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/optimizer/prep:
        prepunion.c (r1.140 -> r1.141)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/prep/prepunion.c.diff?r1=1.140&r2=1.141)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Improve the way in which CatalogCacheComputeHashValue combines
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Avoid useless work during set_plain_rel_pathlist() when the