diff options
author | Bruce Momjian <bruce@momjian.us> | 2000-10-05 19:48:34 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2000-10-05 19:48:34 +0000 |
commit | b32685a999a3d60dbf1f5443ceb2d39d7464d1df (patch) | |
tree | 4f088ae0917d6b431f1b44b52cdc48c921214e74 /src/backend/commands/analyze.c | |
parent | 05e3d0ee8666b74f11ffad16f46e372459d6e53e (diff) | |
download | postgresql-b32685a999a3d60dbf1f5443ceb2d39d7464d1df.tar.gz postgresql-b32685a999a3d60dbf1f5443ceb2d39d7464d1df.zip |
Add proofreader's changes to docs.
Fix misspelling of disbursion to dispersion.
Diffstat (limited to 'src/backend/commands/analyze.c')
-rw-r--r-- | src/backend/commands/analyze.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/commands/analyze.c b/src/backend/commands/analyze.c index 048d4b1df9d..5b9847643b8 100644 --- a/src/backend/commands/analyze.c +++ b/src/backend/commands/analyze.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/analyze.c,v 1.6 2000/09/06 14:15:16 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/analyze.c,v 1.7 2000/10/05 19:48:22 momjian Exp $ * *------------------------------------------------------------------------- @@ -439,13 +439,13 @@ update_attstats(Oid relid, int natts, VacAttrStats *vacattrstats) float4 selratio; /* average ratio of rows selected * for a random constant */ - /* Compute disbursion */ + /* Compute dispersion */ if (stats->nonnull_cnt == 0 && stats->null_cnt == 0) { /* * empty relation, so put a dummy value in - * attdisbursion + * attdispersion */ selratio = 0; } @@ -455,9 +455,9 @@ update_attstats(Oid relid, int natts, VacAttrStats *vacattrstats) * looks like we have a unique-key attribute --- flag * this with special -1.0 flag value. * - * The correct disbursion is 1.0/numberOfRows, but since + * The correct dispersion is 1.0/numberOfRows, but since * the relation row count can get updated without - * recomputing disbursion, we want to store a + * recomputing dispersion, we want to store a * "symbolic" value and figure 1.0/numberOfRows on the * fly. */ @@ -499,7 +499,7 @@ update_attstats(Oid relid, int natts, VacAttrStats *vacattrstats) } /* overwrite the existing statistics in the tuple */ - attp->attdisbursion = selratio; + attp->attdispersion = selratio; /* invalidate the tuple in the cache and write the buffer */ RelationInvalidateHeapTuple(ad, atup); |