Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cblhv-0003jE-QD for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Feb 2017 10:12:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cblhu-0005aE-Jj for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Feb 2017 10:12:06 +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 1cblht-0005ZQ-Ff for pgsql-hackers@postgresql.org; Thu, 09 Feb 2017 10:12:05 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cblhq-0004AD-9W for pgsql-hackers@postgresql.org; Thu, 09 Feb 2017 10:12:04 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id E194A1E199E; Thu, 9 Feb 2017 11:12:00 +0100 (CET) Received: from msg.credativ.de (fw-front.credativ.com [62.154.226.94]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: cbe@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id C8B591E18F1; Thu, 9 Feb 2017 11:12:00 +0100 (CET) Date: Thu, 9 Feb 2017 11:12:00 +0100 From: Christoph Berg To: David Fetter Cc: PostgreSQL Hackers Subject: Re: One-shot expanded output in psql using \gx Message-ID: <20170209101200.2lxlevb7rod5zqdy@msg.credativ.de> Mail-Followup-To: Christoph Berg , David Fetter , PostgreSQL Hackers References: <20170127132737.6skslelaf4txs6iw@msg.credativ.de> <20170127150011.t6oynmocrgn4xd67@msg.credativ.de> <20170206195412.icfsozuj2fxlbbsa@msg.df7cb.de> <20170207051659.GC3552@fetter.org> <20170208145240.corb3zkmypn6snj2@msg.credativ.de> <20170208151214.GA8118@fetter.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170208151214.GA8118@fetter.org> User-Agent: NeoMutt/20170113 (1.7.2) X-Pg-Spam-Score: -1.9 (-) 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 Re: David Fetter 2017-02-08 <20170208151214.GA8118@fetter.org> > Would you be open to saving the next person some work by doing > something similar to how \d is done, namely looking for an 'x' > modifier after g without regard to how far after? As of this writing, > the \d version starts at line 398 in master. I think that ship has sailed, given there's already \gset. Supporting \g[optionset] next to it *now*, given no one knows how "optionset" is going to evolve seems like premature optimization. Mit freundlichen Grüßen, Christoph Berg -- Senior Berater, Tel.: +49 2166 9901 187 credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209 Trompeterallee 108, 41189 Mönchengladbach Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer pgp fingerprint: 5C48 FE61 57F4 9179 5970 87C6 4C5A 6BAB 12D2 A7AE -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers