Alex Pilosov <alex(at)pilosoft(dot)com> writes:
> Tom, I'm not sure how (or whether) this relates to "alter table" happening
> when someone else is doing a SELECT from table.
The ALTER will wait for the SELECT to finish. That's not related to the
internal cache problem that I was worried about.
regards, tom lane