From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: PQntuples return type |
Date: | 2007-09-27 05:57:12 |
Message-ID: | 200709270557.l8R5vCX03416@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)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.
Uh, yea. Not sure if anyone has ever tried. At least we have a marker
in the docs now that it might be a problem. ;-)
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Johann Maar | 2007-09-27 07:19:51 | Re: Autostart PostgreSQL in Ubuntu |
Previous Message | சிவகுமார் மா | 2007-09-27 05:03:22 | df output change (in psql) after 8.2 version |