Re: libpq patch for pqtypes hook api and PGresult creation

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: libpq patch for pqtypes hook api and PGresult creation
Дата
Msg-id b42b73150804111057o255ab305ved7d3840ad65acf@mail.gmail.com
обсуждение исходный текст
Ответ на libpq patch for pqtypes hook api and PGresult creation  (Andrew Chernow <ac@esilo.com>)
Ответы Re: libpq patch for pqtypes hook api and PGresult creation  (Andrew Chernow <ac@esilo.com>)
Список pgsql-patches
On Fri, Apr 11, 2008 at 1:47 PM, Andrew Chernow <ac@esilo.com> wrote:
> Here are the changes to libpq.  It adds the ability to register an Object
> Hook and create a home-grown result.  Patch adds 4 functions.
>
>  We changed the name of PQresultSetFieldValue to PQsetvalue, which better
> compliments PQgetvalue.  If this patch is acceptable, we will move on to
> making the required changes to pqtypes; some work has already been done.

Whoops! One missing thing here...we forgot to make pqResultAlloc
pubilc...pqResultAlloc -> PQresultAlloc (see discussion in -hackers).
Also, we could use pqResultStrdup (or keep it private, in which case
we can re-implement in libpqtypes).

merlin

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

Предыдущее
От: Andrew Chernow
Дата:
Сообщение: libpq patch for pqtypes hook api and PGresult creation
Следующее
От: Andrew Chernow
Дата:
Сообщение: libpq Win32 Mutex performance patch