Problem with view and fetch_fields

From: Gilles DAROLD <gilles(at)darold(dot)net>
To:
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Problem with view and fetch_fields
Date: 2002-01-07 17:51:19
Message-ID: 3C39E016.C4AE8580@darold.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-odbc

Hi,

I received a mail that report a problem using fetch_fields() with view.
It seems that it return good data but with a length of 0.

Maybe someone can take look and check if it's right.

Is the fix concerning alias on columns name as been applied, it seems not
to me ?
recall:

select column1 as col1 from my table

return a colum name as column1 but expected should be col1 isn't it ?

Regards

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurette Cisneros 2002-01-07 18:13:02 Re: bug in join?
Previous Message Tom Lane 2002-01-07 17:40:07 Re: ecpg compile error on AIX

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2002-01-08 02:20:30 Re: Problem with view and fetch_fields
Previous Message Tom Lane 2002-01-07 16:39:35 Re: LWLock contention: I think I understand the problem