Re: libpq and prepared statements progress for 8.0

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: libpq and prepared statements progress for 8.0
Дата
Msg-id 20040920152337.GA29324@penne.toroid.org
обсуждение исходный текст
Ответ на Re: libpq and prepared statements progress for 8.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: libpq and prepared statements progress for 8.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
At 2004-09-20 11:02:50 -0400, tgl@sss.pgh.pa.us wrote:
>
> (1) What about preparing an unnamed statement ...

stmtName == "" will work.

> (2) What about discovering the actually resolved parameter types?

I'm not sure what to do about that.

I could extend PGresult to hold ParameterDescription information, then
provide accessor functions à la PQnfields/PQfformat. But that would be
a fairly intrusive change. And I shudder to even think about trying to
reuse the existing PGresult fields/accessors to do the job.

Do you have any suggestions?

-- ams


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: libpq and prepared statements progress for 8.0
Следующее
От: David Wheeler
Дата:
Сообщение: Re: libpq and prepared statements progress for 8.0