Re: New compile warnings in CVS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Neil Conway <neilc(at)samurai(dot)com>
Subject: Re: New compile warnings in CVS
Date: 2004-10-26 17:57:05
Message-ID: 12082.1098813425@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Barwick 2004-10-26 19:19:14 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Previous Message Andrew Dunstan 2004-10-26 17:44:14 Re: rmtree() failure on Windows