Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id E69592D0B0F for ; Fri, 10 Feb 2012 09:18:21 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RvqMm-0004Wc-14 for pgsql-bugs@postgresql.org; Fri, 10 Feb 2012 13:18:21 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 10 Feb 2012 07:18:07 -0600 Message-Id: <4F34C4AC02000025000451BB@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Fri, 10 Feb 2012 07:18:04 -0600 From: "Kevin Grittner" To: Cc: Subject: Re: BUG #6450: PQexec stuck. Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201202/94 X-Sequence-Number: 32437 [rearranged to avoid top-posting: http://idallen.com/topposting.html] Vipul Patel wrote: > On Thursday 09 February 2012 10:33 PM, Kevin Grittner wrote: >> What locks and blocking do you see when this happens? >> >> http://wiki.postgresql.org/wiki/Lock_Monitoring' > I don't understand why " CREATE TABLE " Need to lock. To protect the integrity of the system tables. > CREATE TABLE Statement gose Hang state, whether it is execute by > any client using (PQexec) or Standard "psql". If you want suggestions on how to accomplish your goals in the presence of this locking, we'll need more information. -Kevin