diff options
| author | Bruce Momjian | 2000-10-05 19:48:34 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2000-10-05 19:48:34 +0000 |
| commit | b32685a999a3d60dbf1f5443ceb2d39d7464d1df (patch) | |
| tree | 4f088ae0917d6b431f1b44b52cdc48c921214e74 /src/include | |
| parent | 05e3d0ee8666b74f11ffad16f46e372459d6e53e (diff) | |
Add proofreader's changes to docs.
Fix misspelling of disbursion to dispersion.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/catalog/pg_attribute.h | 16 | ||||
| -rw-r--r-- | src/include/optimizer/cost.h | 4 | ||||
| -rw-r--r-- | src/include/optimizer/pathnode.h | 4 | ||||
| -rw-r--r-- | src/include/utils/lsyscache.h | 4 |
4 files changed, 14 insertions, 14 deletions
diff --git a/src/include/catalog/pg_attribute.h b/src/include/catalog/pg_attribute.h index 1be654ee5b7..260ff7d106f 100644 --- a/src/include/catalog/pg_attribute.h +++ b/src/include/catalog/pg_attribute.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_attribute.h,v 1.63 2000/08/06 04:39:33 tgl Exp $ + * $Id: pg_attribute.h,v 1.64 2000/10/05 19:48:31 momjian Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -54,15 +54,15 @@ CATALOG(pg_attribute) BOOTSTRAP * Postgres will fail. */ - float4 attdisbursion; + float4 attdispersion; /* - * attdisbursion is the disbursion statistic of the column (0.0 to + * attdispersion is the dispersion statistic of the column (0.0 to * 1.0), or zero if the statistic has not been calculated, or -1.0 if * VACUUM found that the column contains no duplicate entries (in - * which case the disbursion should be taken as 1.0/numberOfRows for + * which case the dispersion should be taken as 1.0/numberOfRows for * the current table size). The -1.0 hack is useful because the - * number of rows may be updated more often than attdisbursion is. We + * number of rows may be updated more often than attdispersion is. We * assume that the column will retain its no-duplicate-entry property. * (Perhaps this should be driven off the existence of a UNIQUE index * for the column, instead of being a statistical guess?) @@ -178,7 +178,7 @@ typedef FormData_pg_attribute *Form_pg_attribute; #define Anum_pg_attribute_attrelid 1 #define Anum_pg_attribute_attname 2 #define Anum_pg_attribute_atttypid 3 -#define Anum_pg_attribute_attdisbursion 4 +#define Anum_pg_attribute_attdispersion 4 #define Anum_pg_attribute_attlen 5 #define Anum_pg_attribute_attnum 6 #define Anum_pg_attribute_attnelems 7 @@ -381,7 +381,7 @@ DATA(insert OID = 0 ( 1261 tableoid 26 0 4 -7 0 -1 -1 t p f i f f)); { 1249, {"attrelid"}, 26, 0, 4, 1, 0, -1, -1, '\001', 'p', '\0', 'i', '\0', '\0' }, \ { 1249, {"attname"}, 19, 0, NAMEDATALEN, 2, 0, -1, -1, '\0', 'p', '\0', 'i', '\0', '\0' }, \ { 1249, {"atttypid"}, 26, 0, 4, 3, 0, -1, -1, '\001', 'p', '\0', 'i', '\0', '\0' }, \ -{ 1249, {"attdisbursion"}, 700, 0, 4, 4, 0, -1, -1, '\0', 'p', '\0', 'i', '\0', '\0' }, \ +{ 1249, {"attdispersion"}, 700, 0, 4, 4, 0, -1, -1, '\0', 'p', '\0', 'i', '\0', '\0' }, \ { 1249, {"attlen"}, 21, 0, 2, 5, 0, -1, -1, '\001', 'p', '\0', 's', '\0', '\0' }, \ { 1249, {"attnum"}, 21, 0, 2, 6, 0, -1, -1, '\001', 'p', '\0', 's', '\0', '\0' }, \ { 1249, {"attnelems"}, 23, 0, 4, 7, 0, -1, -1, '\001', 'p', '\0', 'i', '\0', '\0' }, \ @@ -397,7 +397,7 @@ DATA(insert OID = 0 ( 1261 tableoid 26 0 4 -7 0 -1 -1 t p f i f f)); DATA(insert OID = 0 ( 1249 attrelid 26 0 4 1 0 -1 -1 t p f i f f)); DATA(insert OID = 0 ( 1249 attname 19 0 NAMEDATALEN 2 0 -1 -1 f p f i f f)); DATA(insert OID = 0 ( 1249 atttypid 26 0 4 3 0 -1 -1 t p f i f f)); -DATA(insert OID = 0 ( 1249 attdisbursion 700 0 4 4 0 -1 -1 f p f i f f)); +DATA(insert OID = 0 ( 1249 attdispersion 700 0 4 4 0 -1 -1 f p f i f f)); DATA(insert OID = 0 ( 1249 attlen 21 0 2 5 0 -1 -1 t p f s f f)); DATA(insert OID = 0 ( 1249 attnum 21 0 2 6 0 -1 -1 t p f s f f)); DATA(insert OID = 0 ( 1249 attnelems 23 0 4 7 0 -1 -1 t p f i f f)); diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h index 7bb0262e9a4..0f198eb2b3b 100644 --- a/src/include/optimizer/cost.h +++ b/src/include/optimizer/cost.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: cost.h,v 1.34 2000/06/08 22:37:51 momjian Exp $ + * $Id: cost.h,v 1.35 2000/10/05 19:48:33 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -63,7 +63,7 @@ extern void cost_mergejoin(Path *path, Path *outer_path, Path *inner_path, List *restrictlist, List *outersortkeys, List *innersortkeys); extern void cost_hashjoin(Path *path, Path *outer_path, Path *inner_path, - List *restrictlist, Selectivity innerdisbursion); + List *restrictlist, Selectivity innerdispersion); extern Cost cost_qual_eval(List *quals); extern void set_baserel_size_estimates(Query *root, RelOptInfo *rel); extern void set_joinrel_size_estimates(Query *root, RelOptInfo *rel, diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h index e5810a042f2..06912f192f6 100644 --- a/src/include/optimizer/pathnode.h +++ b/src/include/optimizer/pathnode.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pathnode.h,v 1.29 2000/09/29 18:21:40 tgl Exp $ + * $Id: pathnode.h,v 1.30 2000/10/05 19:48:33 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -57,7 +57,7 @@ extern HashPath *create_hashjoin_path(RelOptInfo *joinrel, Path *inner_path, List *restrict_clauses, List *hashclauses, - Selectivity innerdisbursion); + Selectivity innerdispersion); /* * prototypes for relnode.c diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h index 9c105576ae2..516949d1de9 100644 --- a/src/include/utils/lsyscache.h +++ b/src/include/utils/lsyscache.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: lsyscache.h,v 1.25 2000/08/13 02:50:31 tgl Exp $ + * $Id: lsyscache.h,v 1.26 2000/10/05 19:48:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -21,7 +21,7 @@ extern AttrNumber get_attnum(Oid relid, char *attname); extern Oid get_atttype(Oid relid, AttrNumber attnum); extern bool get_attisset(Oid relid, char *attname); extern int32 get_atttypmod(Oid relid, AttrNumber attnum); -extern double get_attdisbursion(Oid relid, AttrNumber attnum, +extern double get_attdispersion(Oid relid, AttrNumber attnum, double min_estimate); extern RegProcedure get_opcode(Oid opno); extern char *get_opname(Oid opno); |
