From: | "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | <andrea(dot)aime(at)comune(dot)modena(dot)it> |
Cc: | "Postgres ODBC" <pgsql-odbc(at)postgresql(dot)org> |
Subject: | RE: Another bug with parse statements on |
Date: | 2001-04-23 09:30:00 |
Message-ID: | EKEJJICOHDIEMGPNIFIJGEDBEDAA.Inoue@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
> -----Original Message-----
> From: Andrea Aime [mailto:aaime(at)comune(dot)modena(dot)it]
>
> > >
> > > 'SELECT min(classe) as minimo, max(classe) as massimo
> > > FROM tav974'
> > > (
> > > is a carriage return...)
> > >
> >
> > What kind of errors do you see ?
> > I couldn't find any related ERRORs in your log.
> >
> --------------------------------------------
> nfld=1, ntab=1
> Field 0: expr=0, func=1, quote=0, dquote=0, numeric=0, name='min',
> alias='', dot=''
> Table 0: name='tav974', alias=''
>
> nfld = 1? There are two fields in the result of my query. Moreover it
OK please try the following patch.
regards,
Hiroshi Inoue
Index: parse.c
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/odbc/parse.c,v
retrieving revision 1.16
diff -c -c -r1.16 parse.c
*** parse.c 2001/03/27 04:00:54 1.16
--- parse.c 2001/04/23 08:59:18
***************
*** 393,398 ****
--- 393,401 ----
{
blevel--;
mylog("blevel-- = %d\n", blevel);
+ }
+ if (blevel == 0)
+ {
if (delim == ',')
{
in_func = FALSE;
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2001-04-23 10:23:30 | Re: How to configure iodbc access to local postgres db? |
Previous Message | Hiroshi Inoue | 2001-04-23 07:40:07 | RE: Another bug with parse statements on |