How can I retrieve double or int data type for libpq - Mailing list pgsql-general

From a
Subject How can I retrieve double or int data type for libpq
Date
Msg-id tencent_70C980697DC61B1F0AA54018@qq.com
Whole thread Raw
Responses Re: How can I retrieve double or int data type for libpq  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general
Hi

I wanna use C library to connect pgsql server and I got 2 questions:

1, If I can fetch a row's data instead of using PQgetvalue?

2, PQgetvalue will return all data as text, I would have to convert them into the relative data type, is there a way of getting data by its original format?

Thanks so much!

Shore

pgsql-general by date:

Previous
From: Andrew Bartley
Date:
Subject: Re: Logging
Next
From: "David G. Johnston"
Date:
Subject: Re: Logging