First steps towards statistics on expressional (nee functional) indexes.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 15 Feb 2004 21:01:39 +0000 (21:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 15 Feb 2004 21:01:39 +0000 (21:01 +0000)
commitf0c9397f808531b4207ebe60ff3ba9b038812443
tree66d756d316f0d045dd6d0a756315efb6ed99b878
parent4b8f1259738458e35a147820232bc7aab4f85e5c
First steps towards statistics on expressional (nee functional) indexes.
This commit teaches ANALYZE to store such stats in pg_statistic, but
nothing is done yet about teaching the planner to use 'em.
Also, repair longstanding oversight in separate ANALYZE command: it
updated the pg_class.relpages and reltuples counts for the table proper,
but not for indexes.
doc/src/sgml/catalogs.sgml
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/commands/analyze.c
src/backend/commands/tablecmds.c
src/include/catalog/heap.h
src/include/commands/vacuum.h