Search Postgresql Archives

Re: Results interpretation

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

 



Afaik, pgresult structure and it's fields are not meant to be handled directly apart of comparing the pointer to null.



--
Vincenzo Romano - NotOrAnd.IT
Information Technologies
--
NON QVIETIS MARIBVS NAVTA PERITVS

Il 18 ago 2017 19:46, "Igor Korot" <ikorot01@xxxxxxxxx> ha scritto:
 Hi,
I looked at the documentation, but couldn't find it.

If I do PQexec() call, the results will be interpreted as binary or text?

I'm trying to get an int field from the query and wonder if I need to do
hton() call or not?

Thank you.


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[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