Re: Fix compiler warnings in Cube Extension

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Fix compiler warnings in Cube Extension
Дата
Msg-id CAKJS1f_jGJ3N_rB2bHBnq3aXUYMTJR+VNQ_Mz479GEkZFpJ0mA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fix compiler warnings in Cube Extension  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 29 December 2015 at 07:38, Tom Lane <tgl@sss.pgh.pa.us> wrote:
David Rowley <david.rowley@2ndquadrant.com> writes:
> My compiler is complaining about cube_coord() and cube_coord_llur() not
> returning a value on all code paths.

Yeah, looking at that code, this would be expected from any compiler
that doesn't know that ereport() doesn't return.  On it now.  The
documentation aspect of that commit leaves much to be desired as well.

Great. Thanks for committing.

--
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: missing "SPI_finish" that isn't missing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Avoid endless futile table locks in vacuuming.