]> granicus.if.org Git - postgresql/commit
Set attstattarget to -1 for all system catalog columns. All but a few
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Oct 2003 22:52:22 +0000 (22:52 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Oct 2003 22:52:22 +0000 (22:52 +0000)
commit52b59a7becc1b820a07986907337d85ac3ccac87
tree99fa1eed7a9b92021715be9fffd4c486337b93aa
parent64c1fc7257390102f6178e21bd5b2b766f4a9f3a
Set attstattarget to -1 for all system catalog columns.  All but a few
of the entries used to be zero, which I think I had deliberately done in
the name of saving cycles during ANALYZE, but it was really a rather
foolish decision.  Some of the more complex views in information_schema
were getting really bad plans for lack of statistics on the columns they
were joining over.

I'm not forcing an initdb for this, but I think there will be one soon
anyway to repair some bugs in the information_schema views.
src/include/catalog/pg_attribute.h