Re: SQLDescribeCol and column alias - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: SQLDescribeCol and column alias
Date
Msg-id 3BF46129.729EB2A4@tpf.co.jp
Whole thread Raw
In response to server --configure postgresql  (yanling xu <helenxyl@yahoo.com>)
List pgsql-odbc
Gilles DAROLD wrote:
>
> Hi all,
>
> It seems to me that SQLDescribeCol return the realname of a column.
> For example when I run a query like that:
>
>     SELECT mycol AS othername FROM mytable;
>
> it returns 'mycol' and not 'othername'. Am I wrong or is there's an
> other way to have the alias returned ?

Aren't you turning on Parse Statement option ?
Porbably you can get the alias name by turning off the option.
Anyway I would fix it soon.
The fix would be included in the next release.

Thanks for the report.
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Access 2000 ODBC table links
Next
From: Gilles DAROLD
Date:
Subject: Turning off Parse Statement