Retrieving query results

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Retrieving query results
Date: 2017-08-22 18:19:58
Message-ID: CA+FnnTxyLWyjY1goewmJNxC==HQCCF4fKkoCTa9qR36oRAHDPw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, ALL,
[quote]
PQntuples

Returns the number of rows (tuples) in the query result. Because it
returns an integer result, large result sets might overflow the return
value on 32-bit operating systems.

int PQntuples(const PGresult *res);
[/quote]

Is there another way to not to overflow the result?

Thank you.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim Gündüz 2017-08-22 18:44:54 Re: make postgresql 9.5 default on centos 7
Previous Message Igor Korot 2017-08-22 18:14:32 Re: What is the proper query