Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group