Re: Simplify code building the LR conflict messages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Simplify code building the LR conflict messages
Дата
Msg-id 394105.1764298158@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Simplify code building the LR conflict messages  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: Simplify code building the LR conflict messages
Список pgsql-hackers
Peter Smith <smithpb2250@gmail.com> writes:
> I couldn't think of a reason why the "; " string needed to be
> separated from the rest of the message like that. And when you combine
> the strings, the logic easily collapses into a single statement with
> less code and greater readability.

... and, probably, less ability of the compiler to verify that the
variadic arguments match the format string.  I think you've taken
this a bit too far.

            regards, tom lane



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