From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
---|---|
To: | John Gorman <johngorman2(at)gmail(dot)com> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Hash tables in dynamic shared memory |
Date: | 2017-04-07 04:41:43 |
Message-ID: | CAEepm=0u=Dp5XYV=s0c8Q5Jdvg5GiPF8rxBDCC+HLzMdJ8mNxw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Dec 19, 2016 at 12:33 PM, Thomas Munro
<thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> Since Dilip Kumar's Parallel Bitmap Heap Scan project is no longer
> using this, I think I should park it here unless/until another
> potential use case pops up. Some interesting candidates have been
> mentioned already, and I'm fairly sure there are other uses too, but I
> don't expect anyone to be interested in committing this patch until
> something concrete shows up, so I'll go work on other things until
> then.
Here is a rebased version. Changes since v2:
1. Out-of-memory conditions now raise errors (following
dsa_allocate's change in behaviour to match palloc).
2. Moved into 'lib' where other reusable data structures live.
There are still a couple of things I'd like to adjust in this code
(including feedback from John and improvements to the iterator code
which is overcomplicated) but I'm posting it today as infrastructure
for another patch.
--
Thomas Munro
http://www.enterprisedb.com
Attachment | Content-Type | Size |
---|---|---|
dht-v3.patch | application/octet-stream | 48.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Langote | 2017-04-07 04:42:19 | Re: No-op case in ExecEvalConvertRowtype |
Previous Message | Tom Lane | 2017-04-07 04:29:30 | Re: src/interfaces/libpq shipping nmake-related Makefiles |