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

Problem with view and fetch_fields

From: Gilles DAROLD <gilles(at)darold(dot)net>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Problem with view and fetch_fields
Date: 2002-01-07 17:51:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-odbc

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 ?

    select column1 as col1 from my table

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


In response to


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-2017 The PostgreSQL Global Development Group