Re: PQntuples return type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQntuples return type
Дата
Msg-id 14000.1190851022@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PQntuples return type  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: PQntuples return type  (Bruce Momjian <bruce@momjian.us>)
Список 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 по дате отправления:

Предыдущее
От: Diego Gil
Дата:
Сообщение: Re: datestyle question
Следующее
От: "Matthew Dennis"
Дата:
Сообщение: pg_dump (8.1.9) does not output copy statements