Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYDSn-0005c2-VJ for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Jan 2017 15:01:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cYDSn-0004Np-Ii for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Jan 2017 15:01:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cYDRO-0002o7-QD for pgsql-hackers@postgresql.org; Mon, 30 Jan 2017 15:00:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cYDRH-00030M-GB for pgsql-hackers@postgresql.org; Mon, 30 Jan 2017 15:00:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v0UF02jb023623; Mon, 30 Jan 2017 10:00:02 -0500 From: Tom Lane To: "Daniel Verite" cc: "Christoph Berg" , "PostgreSQL Hackers" Subject: Re: One-shot expanded output in psql using \G In-reply-to: <7c9af633-cbaa-4288-8efa-15dcfdf7094b@manitou-mail.org> References: <7c9af633-cbaa-4288-8efa-15dcfdf7094b@manitou-mail.org> Comments: In-reply-to "Daniel Verite" message dated "Mon, 30 Jan 2017 15:45:41 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23621.1485788402.1@sss.pgh.pa.us> Date: Mon, 30 Jan 2017 10:00:02 -0500 Message-ID: <23622.1485788402@sss.pgh.pa.us> X-Pg-Spam-Score: -5.1 (-----) 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 "Daniel Verite" writes: >> \G will be much easier to explain to existing users (both people >> coming from MySQL to PostgreSQL, and PostgreSQL users doing a detour >> into foreign territory), and it would be one difference less to have >> to care about when typing on the CLIs. > That's a good argument, but if it's pitted against psql's > consistency with itself, I'd expect the latter to win. FWIW, \gx makes sense to me as well, particularly if we make it a complete extension of \g and allow an optional target file name. Does that functionality exist in mysql's \G ? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers