Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 6DB2D1337B84 for ; Tue, 1 Feb 2011 20:34:05 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 11045-01 for ; Wed, 2 Feb 2011 00:33:58 +0000 (UTC) X-Greylist: delayed 00:16:59.054345 by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id 227191337B61 for ; Tue, 1 Feb 2011 20:33:58 -0400 (AST) Received: from 121-98-80-66.bitstream.orcon.net.nz ([121.98.80.66] helo=[192.168.1.2]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PkQP1-0004sD-7k; Wed, 02 Feb 2011 13:16:55 +1300 Message-ID: <4D48A271.6040308@opencloud.com> Date: Wed, 02 Feb 2011 13:16:49 +1300 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: Kevin Grittner CC: pgsql-jdbc@postgresql.org Subject: Re: Timing of notice delivery References: <4D484825020000250003A151@gw.wicourts.gov> In-Reply-To: <4D484825020000250003A151@gw.wicourts.gov> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201102/6 X-Sequence-Number: 21404 On 02/02/11 12:51, Kevin Grittner wrote: > -- setup > Execute LISTEN on the connection. > conn.setAutoCommit(false); > -- each transaction > execute statements which fire triggers which NOTIFY. > conn.commit(); > conn.getNotifications(); > > Can I count on all notifications triggered during a transaction > being delivered in the last step? This is equivalent to asking "Does the server deliver all notifications before sending ReadyForQuery in response to Sync after the commit command?". The last thing the driver processes from the server before returning from commit() is the RFQ message. Oliver