Re: NUMERIC private methods?

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: NUMERIC private methods?
Дата
Msg-id 549315CB.4070800@BlueTreble.com
обсуждение исходный текст
Ответ на Re: NUMERIC private methods?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 12/18/14, 9:21 AM, Tom Lane wrote:
>> As it stands, no extension can use the numeric type in any non-trivial
>> >way without paying a large penalty for repeated pallocs and data copies.
>> >Given that the ability to write C extensions easily is one of pg's great
>> >strengths, this is a defect that should be corrected.

If copying data/palloc is the root of numeric's performance problems then we need to address that, because it will
providebenefit across the entire database. The pattern of (palloc; copy) is repeated throughout a large part of the
codebase.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Proposal: Log inability to lock pages during vacuum
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Commitfest problems