From: | Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
Cc: | Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, David Fetter <david(at)fetter(dot)org>, PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: NUMERIC private methods? |
Date: | 2014-12-18 17:58:35 |
Message-ID: | 549315CB.4070800@BlueTreble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 provide benefit 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
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2014-12-18 18:02:25 | Re: Commitfest problems |
Previous Message | Jim Nasby | 2014-12-18 17:38:12 | Re: Proposal: Log inability to lock pages during vacuum |