Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com> writes:
> Something like a trigger on the table rename would be ideal for my
> purposes. Anything like that possible? Thanks!
Recent PG versions have "event triggers" which would serve the purpose.
However, the infrastructure for them isn't very fully built out yet.
I'm not sure if you could identify a table rename without resorting to
writing some C code.
regards, tom lane