postgresql rename index
Quote from the manual


  The RENAME form changes the name of the index (...) There is no effect on the stored data


(emphasis mine)

So yes, this is a simple update to the system catalog. 

The statement sill needs an exclusive lock on the table if I'm not mistaken, but the lock will only be held for a very short period.