X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 18288536C5 for ; Thu, 14 Apr 2005 19:21:43 -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 52091-07 for ; Thu, 14 Apr 2005 22:21:42 +0000 (GMT) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by svr1.postgresql.org (Postfix) with ESMTP id C29DB53B54 for ; Thu, 14 Apr 2005 19:21:40 -0300 (ADT) Received: from [192.168.0.2] ([24.201.88.196]) by VL-MO-MR011.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IEY0040EJFQV4@VL-MO-MR011.ip.videotron.ca> for pgsql-sql@postgresql.org; Thu, 14 Apr 2005 18:21:26 -0400 (EDT) Date: Thu, 14 Apr 2005 18:24:40 -0400 From: Carlos Moreno Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*) In-reply-to: <20050414190447.GE28198@dcc.uchile.cl> To: Alvaro Herrera Cc: Andrew Sullivan , pgsql-sql@postgresql.org Message-id: <425EEDA8.80506@mochima.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 References: <200504141838.14705.andreak@officenet.no> <200504141921.38476.andreak@officenet.no> <20050414173358.GB9027@phlogiston.dyndns.org> <200504141954.20520.andreak@officenet.no> <20050414185623.GC9027@phlogiston.dyndns.org> <20050414190447.GE28198@dcc.uchile.cl> X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200504/263 X-Sequence-Number: 21156 Alvaro Herrera wrote: > It is a Postgres limitation as well. We _could_ make the server "really > start the transaction" at the point the first query is issued instead of > when the BEGIN is issued. And also, really finish the transaction right after the last statement is executed, instead of waiting until the COMMIT is issued :-) Carlos --