Small patch: fix code duplication in heapam.c

Поиск
Список
Период
Сортировка
Искать
От
Aleksander Alekseev
Тема
Small patch: fix code duplication in heapam.c
Дата
Msg-id
20160324114333.32d64b27@fujitsu
Список
Дерево обсуждения
Small patch: fix code duplication in heapam.c Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Small patch: fix code duplication in heapam.c Tom Lane <tgl@sss.pgh.pa.us>
Re: Small patch: fix code duplication in heapam.c Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Small patch: fix code duplication in heapam.c Robert Haas <robertmhaas@gmail.com>
Re: Small patch: fix code duplication in heapam.c Aleksander Alekseev <a.alekseev@postgrespro.ru>
Hello

I discovered that there is a lot of code duplication in heapam.c.
In particular relation_openrv and relation_openrv_extended procedures
and also heap_openrv and heap_openrv_extended procedures are almost the
same. Here is a patch that fixes this.

-- 
Best regards,
Aleksander Alekseev
http://eax.me/
В списке pgsql-hackers по дате отправления
От: Petr Jelinek
Дата:
От: Alexander Korotkov
Дата:
FAQ