From: | Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it> |
---|---|
To: | Igor Korot <ikorot01(at)gmail(dot)com> |
Cc: | PostgreSQL General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Results interpretation |
Date: | 2017-08-18 17:51:29 |
Message-ID: | CAHjZ2x6j_Fm8bn=HnTD+3yJJ=yF4oT_7uEx8nRTn+5szBCcPwA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(at)gmail(dot)com> 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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
From | Date | Subject | |
---|---|---|---|
Next Message | Melvin Davidson | 2017-08-18 18:10:23 | Re: make postgresql 9.5 default on centos 7 |
Previous Message | Steve Clark | 2017-08-18 17:50:58 | make postgresql 9.5 default on centos 7 |