Re: XML changes broke assert-enabled vcbuild - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: XML changes broke assert-enabled vcbuild
Date
Msg-id 20070213154447.GJ4315@alvh.no-ip.org
Whole thread Raw
In response to XML changes broke assert-enabled vcbuild  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander wrote:
> The latest set of XML changes (I think latest, at least fairly recent)
> broke the win32vc build with asserts enabled. The line:
>     Assert(fully_escaped || !escape_period);
> 
> From what I can tell, this is because the Assert() puts code (the do {}
> loop) *before* the declaration of StringInfoData buf, which is not
> permitted.

Certainly.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Variable length varlena headers redux
Next
From: Bruce Momjian
Date:
Subject: Re: Variable length varlena headers redux