mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Update comments about attdisbursion. NO code change.
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: pg_attribute.h,v 1.48 1999/07/31 19:07:25 tgl Exp $
|
* $Id: pg_attribute.h,v 1.49 1999/08/09 02:45:56 tgl Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* the genbki.sh script reads this file and generates .bki
|
* the genbki.sh script reads this file and generates .bki
|
||||||
@ -53,8 +53,15 @@ CATALOG(pg_attribute) BOOTSTRAP
|
|||||||
|
|
||||||
float4 attdisbursion;
|
float4 attdisbursion;
|
||||||
/*
|
/*
|
||||||
* attdisbursion is the disbursion statistic of the column, or zero if
|
* attdisbursion is the disbursion statistic of the column (0.0 to 1.0),
|
||||||
* the statistic has not been calculated.
|
* 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 the current table size). The -1.0 hack is useful because the
|
||||||
|
* number of rows may be updated more often than attdisbursion 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?)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int2 attlen;
|
int2 attlen;
|
||||||
|
Reference in New Issue
Block a user