Re: libpq and prepared statements progress for 8.0

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: libpq and prepared statements progress for 8.0
Дата
Msg-id 20041005165941.GA15092@penne.toroid.org
обсуждение исходный текст
Ответы Re: [HACKERS] libpq and prepared statements progress for 8.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
At 2004-09-20 13:24:47 -0400, tgl@sss.pgh.pa.us wrote:
>
> It depends on whether you think that PQprepare should bundle the
> Describe Statement operation or not.

I decided against bundling the two operations together. Here's a patch
to add PQprepare() and PQsendPrepare() in a fairly self-contained way.
Also attached is a test program à la testlibpq3.c that I used to test
the change. This should be all that's needed for DBD::Pg to prepare a
statement without pre-specifying types.

(I'll post a separate patch for PQdescribe() later. It's a little more
involved, and I need to fix a couple of bugs I found during testing.)

Any thoughts? Does this look good enough for 8.0?

-- ams

Вложения

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: Quieting the copyright/startup message...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Win32 Version patch