Re: [HACKERS] assorted code cleanup

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] assorted code cleanup
Дата
Msg-id CA+TgmoZaA_wtvAq0V6G+0yViivakjbMyEDPah9Zgi7H9e6iW4Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] assorted code cleanup  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [HACKERS] assorted code cleanup  (Ryan Murphy <ryanfmurphy@gmail.com>)
Список pgsql-hackers
On Mon, Aug 21, 2017 at 1:11 AM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Fri, Aug 18, 2017 at 1:56 AM, Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com> wrote:
>> Here are a few assorted patches I made while working on the stdbool set,
>> cleaning up various pieces of dead code and weird styles.
>>
>> - Drop excessive dereferencing of function pointers
>
> -           (*next_ProcessUtility_hook) (pstmt, queryString,
> +           next_ProcessUtility_hook(pstmt, queryString,
>                                          context, params, queryEnv,
>                                          dest, completionTag);
> But this... Personally I like the current grammar which allows one to
> make the difference between a function call with something declared
> locally and something that may be going to a custom code path.

+1.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] locale problem of bgworker: logical replicationlauncher and worker process
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] subscription worker signalling wal writer too much