Re: New compile warnings in CVS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: New compile warnings in CVS
Date
Msg-id 12082.1098813425@sss.pgh.pa.us
Whole thread Raw
In response to New compile warnings in CVS  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: New compile warnings in CVS
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I just updated my CVS copy and am seeing four new warnings from
> pgstat.c:
>     pgstat.c:2352: warning: variable `dbentry' might be clobbered by
>     `longjmp' or `vfork'
>     pgstat.c:2360: warning: variable `havebackends' might be clobbered by
>     `longjmp' or `vfork'
>     pgstat.c:2362: warning: variable `use_mcxt' might be clobbered by
>     `longjmp' or `vfork'
>     pgstat.c:2363: warning: variable `mcxt_flags' might be clobbered by
>     `longjmp' or `vfork'

No doubt this is from the PG_TRY that Neil added a couple days ago.
I think he is going to take it out again in favor of using AllocateFile,
so ignore the warnings for now (they're obviously bogus anyway).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: rmtree() failure on Windows
Next
From: Ian Barwick
Date:
Subject: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK