aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-09-04 22:32:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-09-04 22:32:33 +0000
commit47ef623c0bd35b90bb7861c036ccf45a86feaae8 (patch)
treec35827fd167e8b62158574b58cd8267883e990c0 /src/backend/parser/parse_expr.c
parent7be39bb0be87a2fe6ea64c9d48130b78412968a8 (diff)
downloadpostgresql-47ef623c0bd35b90bb7861c036ccf45a86feaae8.tar.gz
postgresql-47ef623c0bd35b90bb7861c036ccf45a86feaae8.zip
Remove pgstat's discrimination against MsgVacuum and MsgAnalyze messages.
Formerly, these message types would be discarded unless there was already a stats hash table entry for the target table. However, the intent of saving hash table space for unused tables was subverted by the fact that the physical I/O done by the vacuum or analyze would result in an immediately following tabstat message, which would create the hash table entry anyway. All that we had left was surprising loss of statistical data, as in a recent complaint from Jaime Casanova. It seems unlikely that a real database would have many tables that go totally untouched over the long haul, so the consensus is that this "optimization" serves little purpose anyhow. Remove it, and just create the hash table entry on demand in all cases.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions