| From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
|---|---|
| To: | Dave Vitek <dvitek(at)grammatech(dot)com> |
| Cc: | Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pg Bugs <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: Fwd: race in pg_ctl start -w |
| Date: | 2012-10-18 19:15:30 |
| Message-ID: | 20121018191529.GM3763@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Dave Vitek wrote:
> Heikki,
>
> 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.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gezeala M. Bacuño II | 2012-10-18 19:18:03 | Re: BUG #7521: Cannot disable WAL log while using pg_dump |
| Previous Message | henrique.assessoria | 2012-10-18 19:13:08 | BUG #7613: INTIDB |