Re: Fwd: race in pg_ctl start -w

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Fwd: race in pg_ctl start -w
Дата
Msg-id 20121018191529.GM3763@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Fwd: race in pg_ctl start -w  (Dave Vitek <dvitek@grammatech.com>)
Ответы Re: Fwd: race in pg_ctl start -w  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-bugs
Dave Vitek wrote:

> Heikki,
>=20
> It's happy about the overruns.  It did flag an issue where the file
> descriptor can leak when the various early returns get taken.

This is a common problem with static analysers; they don't realise we
don't care about the leaked resource because the program is shortly
going to terminate anyway.  We (used to?) have plenty of false positives
in initdb as reported in the Coverity scanner, for example.

--=20
=C1lvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Dave Vitek
Дата:
Сообщение: Re: Fwd: race in pg_ctl start -w
Следующее
От: Gezeala M. Bacuño II
Дата:
Сообщение: Re: BUG #7521: Cannot disable WAL log while using pg_dump