Preferred use of macro GetPGProcByNumber

Поиск
Список
Период
Сортировка
От Maksim.Melnikov
Тема Preferred use of macro GetPGProcByNumber
Дата
Msg-id 80621c00-aba6-483c-88b1-a845461d1165@postgrespro.ru
обсуждение исходный текст
Список pgsql-hackers
Hello hackers,
I've noticed some places where elements of ProcGlobal->allProcs are 
addressed directly via arr index.
But in proc.h macros GetPGProcByNumber exist, that was added to get proc 
objects by index,
so I suggest minor refactoring 'ProcGlobal->allProcs[index]' -> 
'GetPGProcByNumber(index)'.
Please, see attached patch, branched from rev 6ede13d1b5f.

Best regards
Melnikov Maksim

Вложения

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