patch: Re: Values in the select

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: "A(dot)j(dot) Langereis" <a(dot)j(dot)langereis(at)inter(dot)nl(dot)net>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: patch: Re: Values in the select
Date: 2006-01-13 23:10:05
Message-ID: 20060113231005.GA17850@soptik.pzkagis.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> > I have written an application that uses Postgresql (8.1.0) trough
> > an ODBC (ANSI) connection. I noticed that a query like
> > "select 'bar' as foo" does not give the value "bar" in the column
> > "foo". This works normally under PGadmin and even on other databases
> > via ODBC. Am I overlooking something or might this be a bug?
>
> I'm able to reproduce the problem here. Stay tuned. I hope I'll fix it
> in 08.01.0107 development snapshot.

I has good news for you. I found the problem and fix it. psqlODBC
08.01.0107 will contain this patch. I hope I put it on the web
during weekend (the date couldn't be final).

Patch is attached.

Please review and comment

Luf

Attachment Content-Type Size
psqlodbc-typlen_var_length.diff text/plain 674 bytes

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Adam Biser 2006-01-13 23:25:11 Re: Parameters.Refresh error.
Previous Message Ludek Finstrle 2006-01-13 23:03:34 Re: Parameters.Refresh error.