summaryrefslogtreecommitdiff
path: root/src/include/access/gist_private.h
diff options
context:
space:
mode:
authorTom Lane2006-07-11 21:05:57 +0000
committerTom Lane2006-07-11 21:05:57 +0000
commit6f55b641d1e1971c798a5f334fbaefa4fb8aa0cc (patch)
treebe59d672bb23fff097f32a91b510940d44ab54eb /src/include/access/gist_private.h
parent215d121f28d11cc04e4fa6da1755c6febb1a791c (diff)
Tweak fillfactor code as per my recent proposal. Fix nbtsort.c so that
it can handle small fillfactors for ordinary-sized index entries without failing on large ones; fix nbtinsert.c to distinguish leaf and nonleaf pages; change the minimum fillfactor to 10% for all index types.
Diffstat (limited to 'src/include/access/gist_private.h')
-rw-r--r--src/include/access/gist_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/gist_private.h b/src/include/access/gist_private.h
index e3352e0442..619b36dd07 100644
--- a/src/include/access/gist_private.h
+++ b/src/include/access/gist_private.h
@@ -272,7 +272,7 @@ extern Datum gistgetmulti(PG_FUNCTION_ARGS);
#define GiSTPageSize \
( BLCKSZ - SizeOfPageHeaderData - MAXALIGN(sizeof(GISTPageOpaqueData)) )
-#define GIST_MIN_FILLFACTOR 50
+#define GIST_MIN_FILLFACTOR 10
#define GIST_DEFAULT_FILLFACTOR 90
extern Datum gistoptions(PG_FUNCTION_ARGS);