Re: bug in info.c file - incorrect SQL

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
Cc: "Jim Holliday" <jholliday(at)aurigin(dot)com>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: bug in info.c file - incorrect SQL
Date: 2003-01-03 08:09:00
Message-ID: 03AF4E498C591348A42FC93DEA9661B8854B@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> -----Original Message-----
> From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> Sent: 03 January 2003 02:17
> To: Hiroshi Inoue
> Cc: Jim Holliday; pgsql-odbc(at)postgresql(dot)org
> Subject: Re: [ODBC] bug in info.c file - incorrect SQL
>
>
> Hiroshi Inoue wrote:
> > > -----Original Message-----
> > > From: Bruce Momjian
> > >
> > > Good catch, patch attached. I found the problems you saw,
> plus a few
> > > cases where pg_namespace was referenced in the WHERE but not FROM
> > > --- not a big problem, but clearer if we specify it both places.
> > > Patch applied.
> >
> > Unfortunately it doesn't seem a right fix.
> > I would fix it later.
>
> Thanks, Hiroshi. Also, seems someone is having trouble using
> the info functions in the current ODBC release, probably
> because of this bug.

The most recent problem there was with me, and it wasn't that I didn't
know what was wrong, rather snprintf wasn't behaving quite as I
expected. Tom helped me out by pointing out the obvious workaround that
I'm still kicking myself for not thinking of.

> Can you roll a new release once you fix it? Thanks.

Hmm, I'm pretty busy right now, but when Hiroshi gives me the nod I'll
try to fit one in.

Regards, Dave.

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2003-01-03 15:18:02 Re: bug in info.c file - incorrect SQL
Previous Message Jim Holliday 2003-01-03 02:37:56 Re: bug in info.c file - incorrect SQL