Re: ECPG buglet? - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: ECPG buglet?
Date
Msg-id 20070125162612.GB8956@feivel.credativ.de
Whole thread Raw
In response to ECPG buglet?  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Thu, Jan 25, 2007 at 01:23:57PM +0100, Magnus Hagander wrote:
> Looking at the VC warnings, I find that in ECPGDynamicType()
> (typename.c in ecpglib), the default branch of the case statement
> returns "-type". But the function returns "unsigned int", so returning a
> negative value seems very strange to me.

And I see no reason at all why this function is unsigned. After all
there are about 20 different return values. Will change it.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: "Nikolay Samokhvalov"
Date:
Subject: Re: tsearch in core patch, for inclusion
Next
From: "Simon Riggs"
Date:
Subject: Re: WAL Record Header Size Reduction