mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Add the ability to store inheritance-tree statistics in pg_statistic,
and teach ANALYZE to compute such stats for tables that have subclasses. Per my proposal of yesterday. autovacuum still needs to be taught about running ANALYZE on parent tables when their subclasses change, but the feature is useful even without that.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.376 2009/12/23 02:35:21 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.377 2009/12/29 20:11:45 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Every node type that can appear in stored rules' parsetrees *must*
|
||||
@ -693,6 +693,7 @@ _outHash(StringInfo str, Hash *node)
|
||||
|
||||
WRITE_OID_FIELD(skewTable);
|
||||
WRITE_INT_FIELD(skewColumn);
|
||||
WRITE_BOOL_FIELD(skewInherit);
|
||||
WRITE_OID_FIELD(skewColType);
|
||||
WRITE_INT_FIELD(skewColTypmod);
|
||||
}
|
||||
|
Reference in New Issue
Block a user