Re: pgsql: Parenthesize macro arguments safely.

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: pgsql: Parenthesize macro arguments safely.
Дата
Msg-id 877imdbana.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на pgsql: Parenthesize macro arguments safely.  (tgl@postgresql.org (Tom Lane))
Список pgsql-committers
"Tom Lane" <tgl@postgresql.org> writes:

> Log Message:
> -----------
> Parenthesize macro arguments safely.  I see no bug among the current
> uses of PG_DETOAST_DATUM_SLICE, but it's clearly trouble waiting to
> happen.

If this is trouble waiting to happen it should probably be backported.
Otherwise a future bug fix could introduce a call to it and then be
backportted fix without anyone catching that the macro was defined
differently previously.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

Предыдущее
От: mha@postgresql.org (Magnus Hagander)
Дата:
Сообщение: pgsql: Properly pass -c parameter to ecpg when building regression
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Create a function variable "join_search_hook" to let plugins