Re: Getting the results columns before execution
От | Shachar Shemesh |
---|---|
Тема | Re: Getting the results columns before execution |
Дата | |
Msg-id | 400C0138.4050608@shemesh.biz обсуждение исходный текст |
Ответ на | Re: Getting the results columns before execution (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Getting the results columns before execution
|
Список | pgsql-hackers |
Tom Lane wrote: >Shachar Shemesh <psql@shemesh.biz> writes: > > >>... This is a problem, as merely preparing a command is >>not enough to get the returned rows information. >> >> > >Sure it is, if you are using the V3 protocol (new in 7.4). >See the Describe message types. > > regards, tom lane > > Are those exposed through the libpq interface? If not, is there a way to use the libpq interface for most operations, and only for the rest to use whatever it is you are suggesting I use (couldn't locate it in the docs, yet) Funnily enough, mandating protocol version 3 is not my problem at the moment. I may have to do so for a host of other reasons as well. I guess, if you want to use an earlier version of the database, you will have to make do with the ole db to ODBC interface. Shachar -- Shachar Shemesh Lingnu Open Systems Consulting http://www.lingnu.com/
В списке pgsql-hackers по дате отправления: