How can I retrieve double or int data type for libpq

Поиск
Список
Период
Сортировка
От a
Тема How can I retrieve double or int data type for libpq
Дата
Msg-id tencent_70C980697DC61B1F0AA54018@qq.com
обсуждение исходный текст
Ответы Re: How can I retrieve double or int data type for libpq
Список 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 по дате отправления:

Предыдущее
От: Andrew Bartley
Дата:
Сообщение: Re: Logging
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Logging