pgsql: Return value of lseek() can be negative on failure.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Return value of lseek() can be negative on failure.
Дата
Msg-id E1Tuspa-0003VK-VE@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Return value of lseek() can be negative on failure.

Because the return value of lseek() was assigned to an unsigned size_t
variable, we'd fail to notice an error return code -1. Compiler gave a
warning about this.

Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3f4b1749a8168893558f70021be4f40c650bbada

Modified Files
--------------
src/backend/replication/walsender.c |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix obsolete SQL syntax in comment.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix hash_update_hash_key() to handle same-bucket case correctly.