Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite905482

Browse files
committed
Update comments about attdisbursion. NO code change.
1 parent1ecb43a commite905482

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎src/include/catalog/pg_attribute.h

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_attribute.h,v 1.48 1999/07/31 19:07:25 tgl Exp $
10+
* $Id: pg_attribute.h,v 1.49 1999/08/09 02:45:56 tgl Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -53,8 +53,15 @@ CATALOG(pg_attribute) BOOTSTRAP
5353

5454
float4attdisbursion;
5555
/*
56-
* attdisbursion is the disbursion statistic of the column, or zero if
57-
* the statistic has not been calculated.
56+
* attdisbursion is the disbursion statistic of the column (0.0 to 1.0),
57+
* or zero if the statistic has not been calculated, or -1.0
58+
* if VACUUM found that the column contains no duplicate entries
59+
* (in which case the disbursion should be taken as 1.0/numberOfRows
60+
* for the current table size). The -1.0 hack is useful because the
61+
* number of rows may be updated more often than attdisbursion is.
62+
* We assume that the column will retain its no-duplicate-entry
63+
* property. (Perhaps this should be driven off the existence of a
64+
* UNIQUE index for the column, instead of being a statistical guess?)
5865
*/
5966

6067
int2attlen;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp