Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 9122E9FB1E0 for ; Thu, 28 Sep 2006 12:10:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 90413-10 for ; Thu, 28 Sep 2006 15:10:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by postgresql.org (Postfix) with ESMTP id 516DE9F9F96 for ; Thu, 28 Sep 2006 12:10:48 -0300 (ADT) Received: by wx-out-0506.google.com with SMTP id t13so629760wxc for ; Thu, 28 Sep 2006 08:10:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ADs4xiSipf25gTr1wUOodhsiVAqeaEaJVk3c1ti+99izuPM/hUOveLut1Jdjnl/tBIA2DrMPrkNmVhr3kG2CY+N0sVQ7oiE/J8QTQ4k4DWS5ISVNrueMaD5QZ3O/t0PE9tLDkzlriKJGHUlgpAh7aQFdSHkIVlzSR8468Gju83w= Received: by 10.70.30.5 with SMTP id d5mr3021790wxd; Thu, 28 Sep 2006 08:10:47 -0700 (PDT) Received: by 10.70.75.5 with HTTP; Thu, 28 Sep 2006 08:10:46 -0700 (PDT) Message-ID: <1d219a6f0609280810j5e156f33uaafbb37c17ee5d5d@mail.gmail.com> Date: Thu, 28 Sep 2006 11:10:46 -0400 From: "Chris Hoover" To: "pgsql-admin@postgresql.org" Subject: Table Truncate and Locks MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_51293_15627432.1159456246939" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.125 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, HTML_10_20, HTML_MESSAGE, HTML_SHORT_LENGTH, SPF_PASS X-Spam-Level: *** X-Archive-Number: 200609/335 X-Sequence-Number: 23249 ------=_Part_51293_15627432.1159456246939 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline What sort of lock does truncate require? If it is not an access exclusive lock, what locks would block the truncate? Thanks, Chris ------=_Part_51293_15627432.1159456246939 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline What sort of lock does truncate require?  If it is not an access exclusive lock, what locks would block the truncate?

Thanks,

Chris
------=_Part_51293_15627432.1159456246939--