Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkye5-0007D6-Ic for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Aug 2017 20:22:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dkye5-0002tb-3p for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Aug 2017 20:22:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dkye3-0002sW-UY for pgsql-hackers@postgresql.org; Thu, 24 Aug 2017 20:22:27 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkye0-0007gd-Cp for pgsql-hackers@postgresql.org; Thu, 24 Aug 2017 20:22:27 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 7A46D5F79A; Thu, 24 Aug 2017 16:22:23 -0400 (EDT) Date: Thu, 24 Aug 2017 16:22:23 -0400 From: Stephen Frost To: Noah Misch Cc: PostgreSQL Hackers , Christoph Berg , Daniel Verite , David Fetter , Tobias Bussmann Subject: Re: One-shot expanded output in psql using \gx Message-ID: <20170824202223.GT4628@tamriel.snowman.net> References: <20170306124233.c64cylgyot7ipeix@msg.credativ.de> <2d2f2c0f-6ba8-476d-bc98-49b098fd2c66@manitou-mail.org> <20170307131541.GF9812@tamriel.snowman.net> <20170817022441.GA3963697@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jruhxbMP0JJwBdUh" Content-Disposition: inline In-Reply-To: <20170817022441.GA3963697@rfd.leadboat.com> User-Agent: Mutt/1.5.21 (2010-09-15) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --jruhxbMP0JJwBdUh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Noah Misch (noah@leadboat.com) wrote: > On Tue, Aug 15, 2017 at 10:24:34PM +0200, Tobias Bussmann wrote: > > I've tested the new \gx against 10beta and current git HEAD. Actually one of my favourite features of PostgreSQL 10! However in my environment it was behaving strangely. After some debugging I found that \gx does not work if you have \set FETCH_COUNT n before. Please find attached a patch that fixes this incl. new regression test. Fixed in 0cdc3e4. Thanks for the report! Stephen --jruhxbMP0JJwBdUh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJZnzV/AAoJEO1sijiDR2RVHawQAKzyanjh8QRNqHFgimNyKzQq o7waLeoL0tmHAC3ZVDo+fqfyENhwWVpbbKywwtlkJDs+SiTTdcvnpCQ57aay08FS zdHkZuTBg2bSpC5YAFMMU0HikNwF+rB/ezB8OeX8/ssoE83ZKUdqKSfrk70H+cb5 N0A0Ol2VwT6ZaDJCPnAYxApaPqy96nwDGx783bKxdxHOa4C8clm7dIUV1mPO6Dvj rxHnwq0q93JYJ4x3SAUS4gg0AUgAoIzHy62x4j+sa2fxKhdd2rM5g8TM0hVsqPaF gmVsqKj52z6v6ca0mUoZVL6xMYwIIooPy/xUcoXZWokmgrFF129qCbnFEcyMkOlJ Mb+SxV+H4KiBKJxucQWanYg318zffrgenj6q7c8GecUAnFta3WGalbqWoFli1vLf VX3hWcblgI7QgEYt0XEZ4GmQmgjYC9e/J7ffYuIrPRTxbFg8PW4vydGNYxf0+ncr aK7ZqruntJDi9HGL4xtgmS1gAZvMH0ImFOD+6deUyALOHu9K4Hp6PNRRfI4KTdal k2FBNuTBJLCXNrkxZSIJ7k9O0wdb3tH+hZGd98DPJTETAFV9sLQT0oWFbgmPhJ3h H8wwD/xCk1L8Z9lIFM/vt5RolQGjoh/7eWgTfntlz/Ac+VyF192gvUJAGzUfJBin gYPvvfYxeRL595jVOONu =ENJo -----END PGP SIGNATURE----- --jruhxbMP0JJwBdUh--