From 4a8c5d0375f17d8d961a280cbb640996aaa8bf0d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 19 Apr 2005 22:35:18 +0000 Subject: Create executor and planner-backend support for decoupled heap and index scans, using in-memory tuple ID bitmaps as the intermediary. The planner frontend (path creation and cost estimation) is not there yet, so none of this code can be executed. I have tested it using some hacked planner code that is far too ugly to see the light of day, however. Committing now so that the bulk of the infrastructure changes go in before the tree drifts under me. --- src/backend/nodes/tidbitmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/nodes/tidbitmap.c') diff --git a/src/backend/nodes/tidbitmap.c b/src/backend/nodes/tidbitmap.c index f2505159218..69820380424 100644 --- a/src/backend/nodes/tidbitmap.c +++ b/src/backend/nodes/tidbitmap.c @@ -23,7 +23,7 @@ * Copyright (c) 2003-2005, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/nodes/tidbitmap.c,v 1.1 2005/04/17 22:24:02 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/nodes/tidbitmap.c,v 1.2 2005/04/19 22:35:15 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -160,7 +160,7 @@ tbm_create(long maxbytes) hash_ctl.hash = tag_hash; hash_ctl.hcxt = CurrentMemoryContext; tbm->pagetable = hash_create("TIDBitmap", - nbuckets, + 128, /* start small and extend */ &hash_ctl, HASH_ELEM | HASH_FUNCTION | HASH_CONTEXT); -- cgit v1.2.3