warn_unused_result in pgbench

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема warn_unused_result in pgbench
Дата
Msg-id 1371692324.13762.37.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: warn_unused_result in pgbench  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
When building without thread safety, I get the following compiler
warning in pgbench:

pgbench.c:2612:2: error: ignoring return value of function declared with warn_unused_result attribute
[-Werror,-Wunused-result]      write(th->pipes[1], ret, sizeof(TResult));
 

That should be fixed, I think.





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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Implementing incremental backup
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_resetxlog -m documentation not up to date