Re: pg_read_file() with virtual files returns empty string

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: pg_read_file() with virtual files returns empty string
Дата
Msg-id 20200704163910.GO4107@telsasoft.com
обсуждение исходный текст
Ответ на Re: pg_read_file() with virtual files returns empty string  (Joe Conway <mail@joeconway.com>)
Ответы Re: pg_read_file() with virtual files returns empty string  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi Joe

Thanks for addressing this.

But I noticed that cfbot is now populating with failures like:

https://travis-ci.org/github/postgresql-cfbot/postgresql/builds/704898559
genfile.c: In function ‘read_binary_file’:
genfile.c:192:5: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result
[-Werror=unused-result]
     fread(rbuf, 1, 1, file);
     ^
cc1: all warnings being treated as errors
<builtin>: recipe for target 'genfile.o' failed

-- 
Justin



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

Предыдущее
От: "movead.li@highgo.ca"
Дата:
Сообщение: Re: POC and rebased patch for CSN based snapshots
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_read_file() with virtual files returns empty string