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(at)candata(dot)com