Let psql process files with > 4,294,967,295 lines

Поиск
Список
Период
Сортировка
От David Fetter
Тема Let psql process files with > 4,294,967,295 lines
Дата
Msg-id 20060730212323.GU2654@fetter.org
обсуждение исходный текст
Ответы Re: Let psql process files with > 4,294,967,295 lines  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Folks,

I just ran across an issue where in psql, people can get the line
number in the file so long as it is under 2^32-1 lines long, but once
it gets larger than that, it's hosed.

This patch changes the data type from unsigned int to unsigned long
long, which is probably not the correct thing in order to get 64-bit
arithmetic, but I figure it's good enough to get a discussion started.

Cheers,
D
--
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Relation locking and relcache load (was Re: Going for "all green" buildfarm results)
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Let psql process files with > 4,294,967,295 lines