Holger Klawitter <lists@klawitter.de> writes:
> the following code throws an error (which it didn't in 7.2.x):
Sure it did. The error message seems to have changed a trifle, but
you'd get a conflict on the index name in either case.
This isn't real desirable ... but having ALTER TABLE RENAME run around
and rename associated indexes might create issues too ...
regards, tom lane