Re: [GENERAL] Renaming tables and their indexes simultaneously

2012-08-26 Thread Tom Lane
Moshe Jacobson writes: > I have a stored procedure that renames a table as part of a partitioning > scheme, then re-creates it. > Up until recently (I'm not sure what changed), renaming the table would > cause the pkey index/constraint, as well as all other indexes, to be > renamed according to th

[GENERAL] Renaming tables and their indexes simultaneously

2012-08-26 Thread Moshe Jacobson
I have a stored procedure that renames a table as part of a partitioning scheme, then re-creates it. Up until recently (I'm not sure what changed), renaming the table would cause the pkey index/constraint, as well as all other indexes, to be renamed according to the new table name. However, they no