Re: pgsql: Harmonize reorderbuffer parameter names.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pgsql: Harmonize reorderbuffer parameter names.
Дата
Msg-id CAH2-Wz=kT3AWORewCA8wB8G3=zghdoVV6QjcPjnTTFxT9mEdjA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Harmonize reorderbuffer parameter names.  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-committers
On Sun, Sep 18, 2022 at 2:14 PM Peter Geoghegan <pg@bowt.ie> wrote:
> One further caveat here is that I seem to need to set "IgnoreMacros:
> false" to get perfect results for the "inconsistent" check when the C
> preprocessor is involved, as it often is (e.g., with TransactionId
> params).

Actually that explanation is wrong. In any case trial and error has
shown that "IgnoreMacros=false" [1] and "Strict=true" produce the most
useful results.

[1]
https://releases.llvm.org/14.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-inconsistent-declaration-parameter-name.html#cmdoption-arg-IgnoreMacros

-- 
Peter Geoghegan



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: pgsql: Harmonize reorderbuffer parameter names.
Следующее
От: John Naylor
Дата:
Сообщение: pgsql: Fix typos referring to PGPROC