diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-07-11 21:05:57 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-07-11 21:05:57 +0000 |
| commit | d29b66882a5de0878c496bd71d0c69af17197ab7 (patch) | |
| tree | 05555309b4fc4cb550274baadc4bb640c694cb4c /src/include/access/gist_private.h | |
| parent | 1be8f80288a26e676b8e3860eee07015021d30ba (diff) | |
| download | postgresql-d29b66882a5de0878c496bd71d0c69af17197ab7.tar.gz | |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/gist_private.h b/src/include/access/gist_private.h index 1df82fe9fb..d6e5cf0603 100644 --- a/src/include/access/gist_private.h +++ b/src/include/access/gist_private.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/gist_private.h,v 1.21 2006/07/11 17:04:13 momjian Exp $ + * $PostgreSQL: pgsql/src/include/access/gist_private.h,v 1.22 2006/07/11 21:05:57 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -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); |
