Re: compiler warning read_objtype_from_string()

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: compiler warning read_objtype_from_string()
Дата
Msg-id 20160928220953.GA369472@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: compiler warning read_objtype_from_string()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> I do not think you should assume that the compiler is smart enough to
> deduce that, nor that all compilers even know ereport(ERROR) doesn't
> return.  Personally I don't see the point of the "type" variable at
> all, anyway.  I would have written this as
> 
> [code]

Makes sense.  I will patch it that way.

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



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Set log_line_prefix and application name in test drivers
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Set log_line_prefix and application name in test drivers