"George Pavlov" <gpavlov(at)mynewplace(dot)com> writes:
> Currently "ALTER TABLE ... RENAME TO ..." results in all views that
> refer to the table to be rewritten with the new table name.
They are not "rewritten". Views refer to tables by OID, and are
therefore entirely insensitive to RENAME operations. This is not
something we're likely to change.
regards, tom lane