Lock for table renaming

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Lock for table renaming
Date: 2006-12-06 14:50:33
Message-ID: 200612061550.33887.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Why does renaming a table take out an access exclusive lock on the target
table? Isn't this just an UPDATE on a few system catalog rows.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-12-06 14:53:17 Re: psql return codes
Previous Message Hubert FONGARNAND 2006-12-06 13:51:34 Bug in PostGreSQL 8.2