I'm getting a warning:

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wcast-align
-Wpointer-arith  -fpic -I../../../../src/interfaces/ecpg/include
-I../../../../src/interfaces/libpq -I../../../../src/include   -c -o
data.o data.c
data.c: In function `ECPGget_data':
data.c:96: warning: `res' might be used uninitialized in this function

The code looks pretty suspicious, 'res' and 'ures' might be getting mixed
up.  Check please.

-- 
Peter Eisentraut   peter_e@gmx.net


Tue, 8 Jan 2002 17:59:23 -0500 (EST)
Peter Eisentraut <peter_e@gmx.net>
ECPG warning
Peter Eisentraut <peter_e@gmx.net> writes:
> The code looks pretty suspicious, 'res' and 'ures' might be getting mixed
> up.  Check please.

Clearly a copy-and-paste bug.  I committed a fix an hour or so ago.

			regards, tom lane

Tue, 08 Jan 2002 19:27:10 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: ECPG warning 