FindDefinedSymbol() is subtly broken

Поиск
Список
Период
Сортировка
От John Naylor
Тема FindDefinedSymbol() is subtly broken
Дата
Msg-id CAJVSVGXM_n32hTTkircW4_K1LQFsJNb6xjs0pAP4QC0ZpyJfPQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: FindDefinedSymbol() is subtly broken  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Long story short: It expects an array of paths, but will die if it
can't find the symbol in the first path. Arguably it's a bug, but
since the original use case for multiple paths is long gone anyway, it
might never occur in practice. The attached patch changes it to expect
a single path.

Also attached: a few minor build script cleanups I've noticed along the way:
-more accurate error message
-s/print sprintf/printf/
-a recent perltidy change made a couple multi-line strings look odd,
so use heredocs (which other scripts use in this case anyway)
-make generated file footers match project style
-remove a duplicate comment

-John Naylor

Вложения

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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: inconsistency and inefficiency in setup_conversion()
Следующее
От: John Naylor
Дата:
Сообщение: generating bootstrap entries for array types