Re: [HACKERS] Roadmap for FE/BE protocol redesign - Mailing list pgsql-interfaces

From Hiroshi Inoue
Subject Re: [HACKERS] Roadmap for FE/BE protocol redesign
Date
Msg-id 3E6E90F7.8757A01F@tpf.co.jp
Whole thread Raw
In response to Re: [HACKERS] Roadmap for FE/BE protocol redesign  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-interfaces
Tom Lane wrote:
> 
> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > What the driver has suffered from is to get the
> > fields' info of a query result or the parameters'
> > info of a statement. The info is needed even before
> > the execution of the statement(i.e it's only prepared).
> 
> Hm.  Are you saying that you would like PREPARE to send back a
> RowDescription ('T') message?

I'm not sure if PREPARE should return the info directly.
Maybe it should be returned only when it is requested.

> Or is there more to it than that?

More detailed field info is needed anyway.
For example the RowDescription contains neither 
the base column name, the table name nor the
schema name currently and so the current odbc
driver couldn't return the info correctly.
The ODBC function SQLDescribeCol or SQLColAttribute
requires various kind of fields' info.

It's almost impossible to get parameters' info
currently. The ODBC function SQLDescribeParam
isn't implemented yet....

regards,
Hiroshi Inouehttp://www.geocities.jp/inocchichichi/psqlodbc/


pgsql-interfaces by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Roadmap for FE/BE protocol redesign
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Roadmap for FE/BE protocol redesign