X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1786953580 for ; Mon, 9 May 2005 14:21:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54596-06 for ; Mon, 9 May 2005 17:21:15 +0000 (GMT) Received: from titan.internal (dsl093-203-229.ind1.dsl.speakeasy.net [66.93.203.229]) by svr1.postgresql.org (Postfix) with ESMTP id 77300534B4 for ; Mon, 9 May 2005 14:21:14 -0300 (ADT) Received: from [10.0.1.102] (helo=[10.0.1.102] ident=kris) by titan.internal with asmtp (Exim 4.34 #1 (Debian)) id 1DVBwO-00072v-8M for ; Mon, 09 May 2005 12:21:12 -0500 Message-ID: <427F9C06.3070206@musicrebellion.com> Date: Mon, 09 May 2005 12:21:10 -0500 From: Kris Kiger User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Concurrency References: <671060015.20031010095617@roaddep.ru> In-Reply-To: <671060015.20031010095617@roaddep.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200505/93 X-Sequence-Number: 17522 Quick question. I lock a table, call it table X, and then issue two updates on that table. The two updates are left waiting. I then unlock the table. The two updates go through. My question is, is there a predictable way to determine which query will be executed first? Thanks in advance Kris