Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D1B3A6323E9 for ; Tue, 27 Jul 2010 22:13:47 -0300 (ADT) 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 14973-04 for ; Wed, 28 Jul 2010 01:13:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id C543A632EAF for ; Tue, 27 Jul 2010 22:13:40 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o6S1DZBV020086; Tue, 27 Jul 2010 21:13:35 -0400 (EDT) To: Robert Haas cc: mark , pgsql-docs@postgresql.org Subject: Re: 9.0 release doc In-reply-to: References: Comments: In-reply-to Robert Haas message dated "Tue, 27 Jul 2010 20:15:38 -0400" Date: Tue, 27 Jul 2010 21:13:35 -0400 Message-ID: <20085.1280279615@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/158 X-Sequence-Number: 5814 Robert Haas writes: > On Tue, Jul 27, 2010 at 5:11 PM, mark wrote: >> the 4th bullet point says.... >> >> "Have SELECT and CREATE TABLE AS return row counts to the client >> (Boszormenyi Zoltan) >> >> after asking around on #postgresql was wondering if it should read >> "Have SELECT INTO and ..." > The release notes as written are correct. Plain old SELECT (without > SELECT INTO) also returns the number of tuples in the command tag. > But psql does not display it. See src/bin/psql/command.c, in > PrintQueryResults, about 15 lines down from the top of the function. Or more to the point, see the patch being described: http://archives.postgresql.org/pgsql-committers/2010-02/msg00203.php regards, tom lane