Re: BUG #13688: lack of return value in r_mark_regions()

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #13688: lack of return value in r_mark_regions()
Дата
Msg-id 20151019153547.GL3391@alvherre.pgsql
обсуждение исходный текст
Ответ на BUG #13688: lack of return value in r_mark_regions()  (rucsoftsec@163.com)
Ответы Re: BUG #13688: lack of return value in r_mark_regions()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
rucsoftsec@163.com wrote:

> For each execuation result of function r_mark_regions(), it always return 1.
> the related code snippets in r_mark_regions() are as following.
> [...]
> However, in its caller function, the return value of function
> r_mark_regions() should have two possibilities at least. So, there lack of
> return value in r_mark_regions().

We're only consumers of the snowball code; we do not maintain those
files.  Have you checked the upstream code?

I notice we haven't updated those files since they were first introduced
in 2007.  That can't be right ...

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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13688: lack of return value in r_mark_regions()