Re: bugfifx: a minor mistake in brin_inclusion.c comment

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: bugfifx: a minor mistake in brin_inclusion.c comment
Дата
Msg-id 20180326151126.6bouh22l4n3ynwcy@alvherre.pgsql
обсуждение исходный текст
Ответ на bugfifx: a minor mistake in brin_inclusion.c comment  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
Tomas Vondra wrote:
> Hi,
> 
> while looking at brin_inclusion.c, I've noticed that the comment about
> INCLUSION_UNMERGEABLE and INCLUSION_CONTAINS_EMPTY uses incorrect values
> (1 instead of 2). Attached is a simple fix.

Uh, yeah, this is wrong.

> But perhaps it would be better to use the constants in the comment.

I fixed it like this, which seems neater.

Thanks!

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] MERGE SQL Statement for PG11
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Direct converting numeric types to bool