Redundant syscache access in get_rel_sync_entry()

Поиск
Список
Период
Сортировка
От cca5507
Тема Redundant syscache access in get_rel_sync_entry()
Дата
Msg-id tencent_32D456A4CCC86CE3E91E58D8C987BA17B20A@qq.com
обсуждение исходный текст
Ответы Re: Redundant syscache access in get_rel_sync_entry()
Список pgsql-hackers
Hi,
in func get_rel_sync_entry() we access the same tuple in pg_class three times:
    Oid         schemaId = get_rel_namespace(relid);
    bool am_partition = get_rel_relispartition(relid);
    char relkind = get_rel_relkind(relid);
Why not just merge into one?

--
Regards,
ChangAo Chen

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