warning in pg_upgrade

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема warning in pg_upgrade
Дата
Msg-id 4EAE8DBB02000025000428A9@gw.wicourts.gov
обсуждение исходный текст
Ответы Re: warning in pg_upgrade
Список pgsql-hackers
I just noticed a warning in pg_upgrade:

option.c: In function *parseCommandLine*:
option.c:96:8: warning: ignoring return value of *getcwd*,
declared
with attribute warn_unused_result

It looks like it might be worth testing the return value here for
NULL, which would indicate an error accessing the current working
directory.  Untested patch attached for purposes of discussion.

http://www.kernel.org/doc/man-pages/online/pages/man3/getcwd.3.html

-Kevin


Вложения

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

Предыдущее
От: Marti Raudsepp
Дата:
Сообщение: Re: Multiple queries in transit
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Multiple queries in transit