| От | Tom Lane |
|---|---|
| Тема | Re: Let psql process files with > 4,294,967,295 lines |
| Дата | |
| Msg-id | 4147.1154295616@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Let psql process files with > 4,294,967,295 lines (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: Let psql process files with > 4,294,967,295 lines
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> David Fetter wrote:
>> 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.
> The only thing I can tell you is that you should use INT64_FORMAT
> instead of %lld.
And the datatype should be declared int64, not "long long" which doesn't
exist everywhere.
Actually you probably want uint64 and UINT64_FORMAT...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера