Search Postgresql Archives

save PGresult to file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to write a simple С program which sends a query to postgres and saves answer to a binary file. Next, I want to read the content from the binary file into an empty PGresult struct.

And I've faced with two problems, I don't know how to calculate size of returned PGresult struct and how to write struct' content entirely to file without PQgetvalue loops.

Is it possible and how to do it correctly?

--
Regards, Alexey



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux