Re: Return PGresult

Поиск
Список
Период
Сортировка
От Dave Smith
Тема Re: Return PGresult
Дата
Msg-id 3976ED98.1111583B@candata.com
обсуждение исходный текст
Ответ на RE: Return PGresult  ("anuj" <Anuj@in-control.de>)
Ответы RE: Return PGresult  ("anuj" <Anuj@in-control.de>)
Список pgsql-general
anuj wrote:
>
> Thanks,I'm trying PGresult pointer to pointer.
> And Why don't PGresult pointer variable reqiure memory allocation (malloc()?
> Like /* resu =  (PGresult *)(malloc(sizeof(PGresult)); */
>
I believe that the  PQexec is doing the allocation. That is why it has
to be pointer to pointer.

--
Dave Smith
Candata Systems Ltd.
(416) 493-9020
dave@candata.com

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

Предыдущее
От: "anuj"
Дата:
Сообщение: RE: Return PGresult
Следующее
От: Philip Warner
Дата:
Сообщение: pg_dump with BLOBs UPDATED