Table Truncate and Locks

From: "Chris Hoover" <revoohc(at)gmail(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Table Truncate and Locks
Date: 2006-09-28 15:10:46
Message-ID: 1d219a6f0609280810j5e156f33uaafbb37c17ee5d5d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

What sort of lock does truncate require? If it is not an access exclusive
lock, what locks would block the truncate?

Thanks,

Chris

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mathias Laurent 2006-09-28 15:26:36 SELECT FOR UPDATE NOWAIT
Previous Message Chan Michael 2006-09-28 14:16:19 How can I restore from WAL log? [PG 7.3]