Re: PQntuples return type - Mailing list pgsql-general

From Tom Lane
Subject Re: PQntuples return type
Date
Msg-id 14000.1190851022@sss.pgh.pa.us
Whole thread Raw
In response to Re: PQntuples return type  (Bruce Momjian <bruce@momjian.us>)
Responses Re: PQntuples return type
List pgsql-general
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> This is silly.  Have you forgotten that the max number of columns is
>> constrained to 1600 on the backend side?

> Uh, this is the number of returned rows, right?  How does this relate to
> columns?

Duh, brain fade on my part, sorry.  Still, I suspect the return type of
PQntuples would be the very least of the changes we'd need to make to
support resultsets > 2G rows.  And I would not advise changing it to an
unsigned type, since that could cause hard-to-find breakage in
comparison logic in applications.

            regards, tom lane

pgsql-general by date:

Previous
From: Diego Gil
Date:
Subject: Re: datestyle question
Next
From: "Matthew Dennis"
Date:
Subject: pg_dump (8.1.9) does not output copy statements