Re: [INTERFACES] libpq patch for binding tuples in a result set to user allocated memory

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [INTERFACES] libpq patch for binding tuples in a result set to user allocated memory
Дата
Msg-id 20000214214405.A1104@fam-meskes.de
обсуждение исходный текст
Ответ на Re: [INTERFACES] libpq patch for binding tuples in a result set to user allocated memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
On Mon, Feb 14, 2000 at 10:57:03AM -0500, Tom Lane wrote:
> > "libpq" like API's buffers to my memory locations) in my days working
> > with ODBC, Oracle & SQLServer's C-API, i created the following patch
> > which i thought i'd submit. I've included a README as well. 

Something like that is possible with ECPG. Just give use an arraypointer as
variable and set it to NULL. After fetching the date it contains the data,
the memory is allocated by libecpg. Not exactly what you are talking about
but similar.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] libpq patch for binding tuples in a result set to user allocated memory
Следующее
От: "Simon Hardingham"
Дата:
Сообщение: ODBC / Access causes "Stuck on TLB IPI wait (CPU#1)"