Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1C7A02E3493 for ; Thu, 3 Jan 2008 03:55:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 61552-04 for ; Thu, 3 Jan 2008 03:55:00 -0400 (AST) Received: from sd-2317.dedibox.fr (sd-2317.dedibox.fr [88.191.17.192]) by postgresql.org (Postfix) with ESMTP id 27B152E3366 for ; Thu, 3 Jan 2008 03:55:00 -0400 (AST) Received: from [192.168.10.1] (ASte-Genev-Bois-153-1-53-75.w81-249.abo.wanadoo.fr [81.249.147.75]) by sd-2317.dedibox.fr (Postfix) with ESMTP id E6DE525BF; Thu, 3 Jan 2008 08:54:57 +0100 (CET) Message-ID: <477C94CD.2070607@lelarge.info> Date: Thu, 03 Jan 2008 08:54:53 +0100 From: Guillaume Lelarge User-Agent: Thunderbird 2.0.0.9 (X11/20071112) MIME-Version: 1.0 To: "ivan.hou" CC: pgsql-admin@postgresql.org Subject: Re: What's the XID? References: <14508639.post@talk.nabble.com> <20071227154243.GF8160@crankycanuck.ca> <14573789.post@talk.nabble.com> <9801.1199251949@sss.pgh.pa.us> <477B4D37.4090105@lelarge.info> <14590661.post@talk.nabble.com> In-Reply-To: <14590661.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/36 X-Sequence-Number: 27810 ivan.hou wrote: > how do u know this theory ? 1 + (2 * number of columns in the SELECT) > just try & test? I did this at first, yes. I changed log_statement to all, reload the configuration, and voila. I've seen that pgAdmin's query tool executes this number of queries to display the result. > or have any document? After I did a few tests, I get a look at the source. There's no other documents, as far as I know, about this. Regards. -- Guillaume. http://www.postgresqlfr.org http://dalibo.com