Re: 64-bit pgbench V2

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: 64-bit pgbench V2
Дата
Msg-id 4C334550.9090607@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: 64-bit pgbench V2  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: 64-bit pgbench V2  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas wrote:
> It doesn't seem very palatable to have multiple handwritten integer
> parsers floating around the code base either.  Maybe we should try to
> standardize something and ship it in src/port, or somesuch

I was considering at one point making two trips through strtol, each 
allowed to gobble 10 characters, then combining the two--just to cut 
down a little bit on the roll your own parser aspects here.  I hadn't 
really considered how the main server does this job though.  If there's 
something reasonable to expose by refactoring some code that's already 
there, I could take a stab at that.  I'm not exactly sure where the 
integer parsing code in the server that would be appropriate is to break 
out is at though.

-- 
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Fix log_temp_files docs and comments to say bytes not kilobytes.
Следующее
От: Robert Haas
Дата:
Сообщение: Re: 64-bit pgbench V2