"Jim C. Nasby" <jim@nasby.net> writes:
> So, question is, would it make sense to automatically do an analyze
> after/during a SELECT INTO?
I don't think so. Very often, temp tables are small and only used for
one or two operations anyway --- so the cost of an ANALYZE wouldn't be
repaid. If ANALYZE would be useful, the user can issue one.
regards, tom lane