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 "Merlin Moncure" <mmoncure@gmail.com>
Re: libpq patch for pqtypes hook api and PGresult creation Andrew Chernow <ac@esilo.com>
Re: libpq patch for pqtypes hook api and PGresult creation Tom Lane <tgl@sss.pgh.pa.us>
Re: 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>
On Fri, Apr 11, 2008 at 1:47 PM, Andrew Chernow  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
Дата:
От: Andrew Chernow
Дата:
FAQ