Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I an confirm this is a bug. The line:
Presumably, ALTER RENAME is forgetting to rename the ON SELECT rule
associated with the view. The actual use of the rule is driven by
OID-based lookups and isn't affected, but I bet that psql tries to
look up the rule by name.
regards, tom lane